Files
floci-cli/docs/help/floci-config-profile.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

31 lines
1.9 KiB
Plaintext

Usage: floci config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
[--endpoint=<url>] [--image=<image>] [--namespace=<name>]
[-o=text|json|yaml] [--persist=<dir>] [--port=<port>]
[--profile=<name>] [--services=<csv>] list|show|create|edit|delete
[<name>] [COMMAND]
Manage Floci AWS configuration profiles
list|show|create|edit|delete
Action: list, show, create, edit, delete
[<name>] Profile name (required for show, create, edit, delete)
--container=<name> Floci container name (default: floci)
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
-h, --help Show this help message and exit.
--image=<image> create: Docker image for this instance
--json Shorthand for --output json
--namespace=<name> create: Docker resource namespace for the containers this instance
launches (default: derived from --container)
--no-color Disable ANSI colors
--no-emoji Plain ASCII marks instead of Unicode ones (the default when output is
piped)
-o, --output=text|json|yaml
Output format: text, json, yaml
--persist=<dir> create: host directory that keeps this instance's state
--port=<port> create: host port for this instance
--profile=<name> Config profile from ~/.floci/profiles/
-q, --quiet Suppress non-error output
--services=<csv> create: comma-separated services to enable
-v, --verbose Debug logging to stderr
-V, --version Print version information and exit.
Commands:
help Display help information about the specified command.