From 3943adbf9c4c8604cdf675390617bf92e720c2cd Mon Sep 17 00:00:00 2001 From: Arturo Seijas Date: Wed, 6 Mar 2024 10:51:54 +0100 Subject: [PATCH] Examples --- charm/docs/how-to/manage-domains.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/charm/docs/how-to/manage-domains.md b/charm/docs/how-to/manage-domains.md index 958434b..8e99210 100644 --- a/charm/docs/how-to/manage-domains.md +++ b/charm/docs/how-to/manage-domains.md @@ -3,19 +3,13 @@ To manage the list of domains a user is allowed to request changes to, the following actions are available ## Allowing domains -Run -`juju run --wait=5s httprequest-lego-provider/0 allow-domains username=example domains="example.domain.com,example2.domain.com"` - to add domains to the list of allowed domains. +To add domains to the list of allowed domains, run `juju run --wait=5s httprequest-lego-provider/0 allow-domains username=example domains="example.domain.com,example2.domain.com"`. ## Revoking domains -Run -`juju run --wait=5s httprequest-lego-provider/0 revoke-domains username=example domains="example.domain.com,example2.domain.com"` - to remove domains from the list of allowed domains. +To remove domains from the list of allowed domains, run `juju run --wait=5s httprequest-lego-provider/0 revoke-domains username=example domains="example.domain.com,example2.domain.com"`. ## Listing domains -To query the list of allowed domains for a user, run -`juju run --wait=5s httprequest-lego-provider/0 list-domains username=example` -and the list of domains will be returned as in +To query the list of allowed domains for a user, run `juju run --wait=5s httprequest-lego-provider/0 list-domains username=example` and the list of domains will be returned as in ```bash result: | _acme-challenge.example.domain.com, _acme-challenge.example2.domain.com