Conventions

SNAPtoolbelt is scriptable in addition to being user controlled. If you ask it for information, it will be provided on STDOUT. Logs and other ancillary chatter are emitted on STDERR. If the command succeeds, the exit status will be zero, otherwise the exit status will be non-zero.

All input needed comes either from the configuration files, or from the invocation.

Note

There are no prompts for “Are you sure?”. If you tell it to erase a script, it will do so or exit(1) trying.