The verbs are always the same:
| Verb | What it does |
|---|---|
list |
Lists the page’s records (like the console’s list, with the same search and filters where the page has them). |
show <name> |
Shows one record. |
add [<name>] |
Creates a record, with the form the page would post. |
set <name> |
Changes a record. |
delete <name> |
Deletes a record: it is destructive and asks for confirmation. |
The rules that hold across the whole tree:
setchanges only what you name. The command loads the record, rebuilds the page’s form with all its fields and changes only the options you write;setwith no options saves the record unchanged.- Options are the form’s fields, lowercase with hyphens (
--home-quota-mb,--group-read-write). Their help carries the field’s text. - Switches are turned on with
--xand off with--no-x(also--x=off):--vpn-enable,--no-vpn-enable. - Lists are written comma-separated or by repeating the option:
--days mon,tue,wedor--days mon --days tue. Mind that a list replaces what was there (for example a group’s--members). - A record is named by what the page shows (a user’s login, a share’s name, the mail domain), never by an internal identifier. If the name has spaces, quote it:
"Office NAS". - A list inside a record is a group of its own, with its elements indicated by number:
atlas dns zones records list johnsmith.test,atlas dns zones records delete corp.johnsmith.test 7. - A page’s button is a verb with its own name, in English and lowercase:
run,test,enable,confirm,skip. - A group with no verb runs
list, orshowif the page has no records:atlas ad usersis the same asatlas ad users list. A settings block is a group withshowandset.