Files
floci-cli/docs/help/floci-az-snapshot.txt
Hector Ventura 97eaa5e820 docs: add an exit-code table and generated --help snapshots (#63)
* docs: add an exit-code table and generated --help snapshots

README gains the exit codes scripts can rely on, per command. docs/help holds the --help text of every command in every tree, and HelpSnapshotTest fails when the files and the commands drift apart.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* docs: say which rejected values exit 1 and pin the documented exit codes with a test

The table promised 2 for every unusable value, but three commands report a rejected value with 1. The wording is narrowed, the three are named, and ExitCodeTableTest pins the rows that need neither Docker nor a server.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* test: keep the exit-code test off the developer's saved profiles

The profile commands build their own store under the home directory, so the test now runs with a temporary home.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-10-11 09:23:29 -05:00

13 lines
563 B
Plaintext

Usage: floci az snapshot [-hV] [COMMAND]
Manage Floci Azure state snapshots
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
save Save the current Floci Azure state as a named snapshot
load Load a Floci Azure snapshot
list List available Floci Azure snapshots
delete Delete a Floci Azure snapshot
export Export a Floci Azure snapshot to a tarball file
import Import a Floci Azure snapshot from a tarball file
help Display help information about the specified command.