The grammar

The verbs are always the same:

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:

  • set changes 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; set with 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 --x and 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,wed or --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, or show if the page has no records: atlas ad users is the same as atlas ad users list. A settings block is a group with show and set.
LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer