From 97eaa5e820c7b26a9ad7f7d90582c0f5b4e59f36 Mon Sep 17 00:00:00 2001 From: Hector Ventura Date: Sun, 11 Oct 2026 09:23:29 -0500 Subject: [PATCH] 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 * 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 * 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 --------- Signed-off-by: Hector Ventura --- AGENTS.md | 2 + README.md | 40 ++++++ docs/help/floci-aws-completion.txt | 17 +++ .../help/floci-aws-config-default-product.txt | 18 +++ docs/help/floci-aws-config-profile.txt | 30 +++++ docs/help/floci-aws-config-show.txt | 16 +++ docs/help/floci-aws-config-validate.txt | 18 +++ docs/help/floci-aws-config.txt | 10 ++ docs/help/floci-aws-doctor.txt | 18 +++ docs/help/floci-aws-env.txt | 20 +++ docs/help/floci-aws-logs.txt | 22 ++++ docs/help/floci-aws-reset.txt | 17 +++ docs/help/floci-aws-restart.txt | 16 +++ docs/help/floci-aws-services.txt | 16 +++ docs/help/floci-aws-snapshot-delete.txt | 17 +++ docs/help/floci-aws-snapshot-export.txt | 19 +++ docs/help/floci-aws-snapshot-import.txt | 19 +++ docs/help/floci-aws-snapshot-list.txt | 16 +++ docs/help/floci-aws-snapshot-load.txt | 17 +++ docs/help/floci-aws-snapshot-save.txt | 19 +++ docs/help/floci-aws-snapshot.txt | 12 ++ docs/help/floci-aws-start.txt | 27 ++++ docs/help/floci-aws-status.txt | 16 +++ docs/help/floci-aws-stop.txt | 20 +++ docs/help/floci-aws-version.txt | 16 +++ docs/help/floci-aws-wait.txt | 19 +++ docs/help/floci-aws.txt | 27 ++++ docs/help/floci-az-completion.txt | 17 +++ docs/help/floci-az-config-profile.txt | 30 +++++ docs/help/floci-az-config-show.txt | 16 +++ docs/help/floci-az-config-validate.txt | 18 +++ docs/help/floci-az-config.txt | 9 ++ docs/help/floci-az-doctor.txt | 18 +++ docs/help/floci-az-env.txt | 25 ++++ docs/help/floci-az-logs.txt | 22 ++++ docs/help/floci-az-reset.txt | 17 +++ docs/help/floci-az-restart.txt | 16 +++ docs/help/floci-az-services.txt | 16 +++ docs/help/floci-az-setup.txt | 29 +++++ docs/help/floci-az-snapshot-delete.txt | 17 +++ docs/help/floci-az-snapshot-export.txt | 19 +++ docs/help/floci-az-snapshot-import.txt | 19 +++ docs/help/floci-az-snapshot-list.txt | 16 +++ docs/help/floci-az-snapshot-load.txt | 17 +++ docs/help/floci-az-snapshot-save.txt | 19 +++ docs/help/floci-az-snapshot.txt | 12 ++ docs/help/floci-az-start.txt | 27 ++++ docs/help/floci-az-status.txt | 16 +++ docs/help/floci-az-stop.txt | 19 +++ docs/help/floci-az-version.txt | 16 +++ docs/help/floci-az-wait.txt | 19 +++ docs/help/floci-az.txt | 29 +++++ docs/help/floci-completion.txt | 17 +++ docs/help/floci-config-default-product.txt | 18 +++ docs/help/floci-config-profile.txt | 30 +++++ docs/help/floci-config-show.txt | 16 +++ docs/help/floci-config-validate.txt | 17 +++ docs/help/floci-config.txt | 10 ++ docs/help/floci-doctor.txt | 17 +++ docs/help/floci-env.txt | 20 +++ docs/help/floci-gcp-completion.txt | 17 +++ docs/help/floci-gcp-config-profile.txt | 30 +++++ docs/help/floci-gcp-config-show.txt | 16 +++ docs/help/floci-gcp-config-validate.txt | 18 +++ docs/help/floci-gcp-config.txt | 9 ++ docs/help/floci-gcp-doctor.txt | 18 +++ docs/help/floci-gcp-env.txt | 20 +++ docs/help/floci-gcp-logs.txt | 22 ++++ docs/help/floci-gcp-reset.txt | 17 +++ docs/help/floci-gcp-restart.txt | 16 +++ docs/help/floci-gcp-services.txt | 16 +++ docs/help/floci-gcp-snapshot-delete.txt | 17 +++ docs/help/floci-gcp-snapshot-export.txt | 19 +++ docs/help/floci-gcp-snapshot-import.txt | 19 +++ docs/help/floci-gcp-snapshot-list.txt | 16 +++ docs/help/floci-gcp-snapshot-load.txt | 17 +++ docs/help/floci-gcp-snapshot-save.txt | 19 +++ docs/help/floci-gcp-snapshot.txt | 12 ++ docs/help/floci-gcp-start.txt | 27 ++++ docs/help/floci-gcp-status.txt | 16 +++ docs/help/floci-gcp-stop.txt | 20 +++ docs/help/floci-gcp-version.txt | 16 +++ docs/help/floci-gcp-wait.txt | 19 +++ docs/help/floci-gcp.txt | 27 ++++ docs/help/floci-logs.txt | 22 ++++ docs/help/floci-oci-completion.txt | 17 +++ docs/help/floci-oci-config-profile.txt | 30 +++++ docs/help/floci-oci-config-show.txt | 16 +++ docs/help/floci-oci-config-validate.txt | 18 +++ docs/help/floci-oci-config.txt | 9 ++ docs/help/floci-oci-doctor.txt | 18 +++ docs/help/floci-oci-env.txt | 17 +++ docs/help/floci-oci-logs.txt | 22 ++++ docs/help/floci-oci-reset.txt | 17 +++ docs/help/floci-oci-restart.txt | 16 +++ docs/help/floci-oci-services.txt | 16 +++ docs/help/floci-oci-setup.txt | 19 +++ docs/help/floci-oci-snapshot-delete.txt | 17 +++ docs/help/floci-oci-snapshot-export.txt | 19 +++ docs/help/floci-oci-snapshot-import.txt | 19 +++ docs/help/floci-oci-snapshot-list.txt | 16 +++ docs/help/floci-oci-snapshot-load.txt | 17 +++ docs/help/floci-oci-snapshot-save.txt | 19 +++ docs/help/floci-oci-snapshot.txt | 12 ++ docs/help/floci-oci-start.txt | 27 ++++ docs/help/floci-oci-status.txt | 16 +++ docs/help/floci-oci-stop.txt | 20 +++ docs/help/floci-oci-version.txt | 16 +++ docs/help/floci-oci-wait.txt | 19 +++ docs/help/floci-oci.txt | 29 +++++ docs/help/floci-reset.txt | 17 +++ docs/help/floci-restart.txt | 16 +++ docs/help/floci-services.txt | 16 +++ docs/help/floci-snapshot-delete.txt | 17 +++ docs/help/floci-snapshot-export.txt | 19 +++ docs/help/floci-snapshot-import.txt | 19 +++ docs/help/floci-snapshot-list.txt | 16 +++ docs/help/floci-snapshot-load.txt | 17 +++ docs/help/floci-snapshot-save.txt | 19 +++ docs/help/floci-snapshot.txt | 12 ++ docs/help/floci-start.txt | 27 ++++ docs/help/floci-status.txt | 16 +++ docs/help/floci-stop.txt | 19 +++ docs/help/floci-update.txt | 6 + docs/help/floci-version.txt | 16 +++ docs/help/floci-wait.txt | 19 +++ docs/help/floci.txt | 66 ++++++++++ .../io/floci/cli/unit/ExitCodeTableTest.java | 83 +++++++++++++ .../io/floci/cli/unit/HelpSnapshotTest.java | 116 ++++++++++++++++++ 129 files changed, 2589 insertions(+) create mode 100644 docs/help/floci-aws-completion.txt create mode 100644 docs/help/floci-aws-config-default-product.txt create mode 100644 docs/help/floci-aws-config-profile.txt create mode 100644 docs/help/floci-aws-config-show.txt create mode 100644 docs/help/floci-aws-config-validate.txt create mode 100644 docs/help/floci-aws-config.txt create mode 100644 docs/help/floci-aws-doctor.txt create mode 100644 docs/help/floci-aws-env.txt create mode 100644 docs/help/floci-aws-logs.txt create mode 100644 docs/help/floci-aws-reset.txt create mode 100644 docs/help/floci-aws-restart.txt create mode 100644 docs/help/floci-aws-services.txt create mode 100644 docs/help/floci-aws-snapshot-delete.txt create mode 100644 docs/help/floci-aws-snapshot-export.txt create mode 100644 docs/help/floci-aws-snapshot-import.txt create mode 100644 docs/help/floci-aws-snapshot-list.txt create mode 100644 docs/help/floci-aws-snapshot-load.txt create mode 100644 docs/help/floci-aws-snapshot-save.txt create mode 100644 docs/help/floci-aws-snapshot.txt create mode 100644 docs/help/floci-aws-start.txt create mode 100644 docs/help/floci-aws-status.txt create mode 100644 docs/help/floci-aws-stop.txt create mode 100644 docs/help/floci-aws-version.txt create mode 100644 docs/help/floci-aws-wait.txt create mode 100644 docs/help/floci-aws.txt create mode 100644 docs/help/floci-az-completion.txt create mode 100644 docs/help/floci-az-config-profile.txt create mode 100644 docs/help/floci-az-config-show.txt create mode 100644 docs/help/floci-az-config-validate.txt create mode 100644 docs/help/floci-az-config.txt create mode 100644 docs/help/floci-az-doctor.txt create mode 100644 docs/help/floci-az-env.txt create mode 100644 docs/help/floci-az-logs.txt create mode 100644 docs/help/floci-az-reset.txt create mode 100644 docs/help/floci-az-restart.txt create mode 100644 docs/help/floci-az-services.txt create mode 100644 docs/help/floci-az-setup.txt create mode 100644 docs/help/floci-az-snapshot-delete.txt create mode 100644 docs/help/floci-az-snapshot-export.txt create mode 100644 docs/help/floci-az-snapshot-import.txt create mode 100644 docs/help/floci-az-snapshot-list.txt create mode 100644 docs/help/floci-az-snapshot-load.txt create mode 100644 docs/help/floci-az-snapshot-save.txt create mode 100644 docs/help/floci-az-snapshot.txt create mode 100644 docs/help/floci-az-start.txt create mode 100644 docs/help/floci-az-status.txt create mode 100644 docs/help/floci-az-stop.txt create mode 100644 docs/help/floci-az-version.txt create mode 100644 docs/help/floci-az-wait.txt create mode 100644 docs/help/floci-az.txt create mode 100644 docs/help/floci-completion.txt create mode 100644 docs/help/floci-config-default-product.txt create mode 100644 docs/help/floci-config-profile.txt create mode 100644 docs/help/floci-config-show.txt create mode 100644 docs/help/floci-config-validate.txt create mode 100644 docs/help/floci-config.txt create mode 100644 docs/help/floci-doctor.txt create mode 100644 docs/help/floci-env.txt create mode 100644 docs/help/floci-gcp-completion.txt create mode 100644 docs/help/floci-gcp-config-profile.txt create mode 100644 docs/help/floci-gcp-config-show.txt create mode 100644 docs/help/floci-gcp-config-validate.txt create mode 100644 docs/help/floci-gcp-config.txt create mode 100644 docs/help/floci-gcp-doctor.txt create mode 100644 docs/help/floci-gcp-env.txt create mode 100644 docs/help/floci-gcp-logs.txt create mode 100644 docs/help/floci-gcp-reset.txt create mode 100644 docs/help/floci-gcp-restart.txt create mode 100644 docs/help/floci-gcp-services.txt create mode 100644 docs/help/floci-gcp-snapshot-delete.txt create mode 100644 docs/help/floci-gcp-snapshot-export.txt create mode 100644 docs/help/floci-gcp-snapshot-import.txt create mode 100644 docs/help/floci-gcp-snapshot-list.txt create mode 100644 docs/help/floci-gcp-snapshot-load.txt create mode 100644 docs/help/floci-gcp-snapshot-save.txt create mode 100644 docs/help/floci-gcp-snapshot.txt create mode 100644 docs/help/floci-gcp-start.txt create mode 100644 docs/help/floci-gcp-status.txt create mode 100644 docs/help/floci-gcp-stop.txt create mode 100644 docs/help/floci-gcp-version.txt create mode 100644 docs/help/floci-gcp-wait.txt create mode 100644 docs/help/floci-gcp.txt create mode 100644 docs/help/floci-logs.txt create mode 100644 docs/help/floci-oci-completion.txt create mode 100644 docs/help/floci-oci-config-profile.txt create mode 100644 docs/help/floci-oci-config-show.txt create mode 100644 docs/help/floci-oci-config-validate.txt create mode 100644 docs/help/floci-oci-config.txt create mode 100644 docs/help/floci-oci-doctor.txt create mode 100644 docs/help/floci-oci-env.txt create mode 100644 docs/help/floci-oci-logs.txt create mode 100644 docs/help/floci-oci-reset.txt create mode 100644 docs/help/floci-oci-restart.txt create mode 100644 docs/help/floci-oci-services.txt create mode 100644 docs/help/floci-oci-setup.txt create mode 100644 docs/help/floci-oci-snapshot-delete.txt create mode 100644 docs/help/floci-oci-snapshot-export.txt create mode 100644 docs/help/floci-oci-snapshot-import.txt create mode 100644 docs/help/floci-oci-snapshot-list.txt create mode 100644 docs/help/floci-oci-snapshot-load.txt create mode 100644 docs/help/floci-oci-snapshot-save.txt create mode 100644 docs/help/floci-oci-snapshot.txt create mode 100644 docs/help/floci-oci-start.txt create mode 100644 docs/help/floci-oci-status.txt create mode 100644 docs/help/floci-oci-stop.txt create mode 100644 docs/help/floci-oci-version.txt create mode 100644 docs/help/floci-oci-wait.txt create mode 100644 docs/help/floci-oci.txt create mode 100644 docs/help/floci-reset.txt create mode 100644 docs/help/floci-restart.txt create mode 100644 docs/help/floci-services.txt create mode 100644 docs/help/floci-snapshot-delete.txt create mode 100644 docs/help/floci-snapshot-export.txt create mode 100644 docs/help/floci-snapshot-import.txt create mode 100644 docs/help/floci-snapshot-list.txt create mode 100644 docs/help/floci-snapshot-load.txt create mode 100644 docs/help/floci-snapshot-save.txt create mode 100644 docs/help/floci-snapshot.txt create mode 100644 docs/help/floci-start.txt create mode 100644 docs/help/floci-status.txt create mode 100644 docs/help/floci-stop.txt create mode 100644 docs/help/floci-update.txt create mode 100644 docs/help/floci-version.txt create mode 100644 docs/help/floci-wait.txt create mode 100644 docs/help/floci.txt create mode 100644 src/test/java/io/floci/cli/unit/ExitCodeTableTest.java create mode 100644 src/test/java/io/floci/cli/unit/HelpSnapshotTest.java diff --git a/AGENTS.md b/AGENTS.md index 16cfa6b..0bfc435 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -176,6 +176,8 @@ printer.error("Container 'floci' not found.\nRun 'floci start' to launch one."); ## Documentation Rules - `README.md` documents all four product trees (AWS, GCP, Azure, OCI). If you add/change a command or flag, update the README in the same change. +- `docs/help/` holds the generated `--help` text of every command, and `HelpSnapshotTest` fails when it no longer matches the code. After changing a command, flag or description, regenerate it with `mvn test -Dtest=HelpSnapshotTest -Dfloci.help.update=true` and commit the result; never edit those files by hand. +- The `Exit Codes` table in `README.md` is the contract scripts rely on. A change to what a command returns updates that table in the same change. - The README header (logo, tagline, badges, nav row), the `The Floci emulators` table and the closing Testcontainers / Community / License / trademark footer follow the Floci family pattern, with `floci-io/testcontainers-floci`'s README as the reference. Keep them in step with it rather than restyling them here. - `CHANGELOG.md` is generated by semantic-release from Conventional Commit messages; **never edit it by hand**. A `feat`, `fix` or `perf` subject (or a breaking change) becomes a release note verbatim, so write those from the user's point of view: what was broken or what is new, not how it was implemented. The other accepted types (`docs`, `chore`, `refactor`, `test`, `build`, `ci`) pass CI but produce no release and no entry. `changelog-guard.yml` fails any PR that touches the file; genuine corrections to history need the `changelog-edit` label. - **No em or en dashes** (U+2014, U+2013) in tracked Markdown or in issue and PR text: use a colon, semicolon, comma, parentheses or a new sentence instead. `CHANGELOG.md` is exempt (generated from commit subjects). diff --git a/README.md b/README.md index 894a21b..8ae4af0 100644 --- a/README.md +++ b/README.md @@ -910,6 +910,46 @@ opt out; the check is automatically disabled in CI and for piped output. --- +## Exit Codes + +Every command in every tree (`floci`, `floci aws`, `floci gcp`, `floci az`, `floci oci`) follows +the same three codes: + +| Code | Meaning | +|---|---| +| `0` | The command did what it was asked. | +| `1` | It ran and failed, or the answer to the question it asks is "no". | +| `2` | The command line could not be used: an unknown flag or command, a missing argument, a value picocli cannot convert (`--port abc`), or a `--profile` that does not exist or cannot be read. | + +A value the command line accepts but the command then rejects is reported by that command. Most +use `2` for it, as the table below shows; three use `1`: `config default-product `, +`update --version ` and `config profile create --port `. + +Where a command's codes carry a specific meaning a script can rely on: + +| Command | `0` | `1` | `2` | +|---|---|---|---| +| `status` | the instance is up | it is not: the server does not answer, or its container is stopped | bad flag or profile | +| `wait` | ready before `--timeout` | timed out | `--timeout` is not a positive duration | +| `doctor` | every check passed (warnings allowed) | at least one check failed | `--check` names no known check | +| `update --check` | up to date | an update is available | the check itself failed | +| `update` | updated, or already up to date | the update failed, or `--version` is not a release version; the binary is unchanged | bad flag | +| `start`, `restart` | started (and ready, unless `--detach`) | Docker, the image, the port or readiness failed | `--port`, `--pull` or the namespace is not valid | +| `stop` | stopped, or was not running | no such container, or Docker failed | bad flag or profile | +| `reset` | state reset | declined, not available on this server, or no running instance to reset | no terminal to ask on and no `--yes` | +| `config validate` | no errors (warnings allowed) | errors found, or the file cannot be read | bad flag | +| `config profile ...` | done | not found, already exists, cannot be read, `--port` is out of range, or (for `edit`) no editor is set, the editor failed or the file no longer parses | the profile name is not valid | +| `config default-product` | saved | not `aws`, `gcp`, `az` or `oci`, or the file cannot be written | bad flag | +| `env` | variables printed | | `--shell` is not supported | +| `completion` | script printed | | the shell is not `bash` or `zsh` | +| `snapshot ...` | done | failed, or the server has no snapshot API yet | bad flag or profile | + +`docs/help/` holds the `--help` text of every command, generated from the code. A test fails when +the files and the commands drift apart; regenerate them with +`mvn test -Dtest=HelpSnapshotTest -Dfloci.help.update=true`. + +--- + ## CI Usage ### AWS CI diff --git a/docs/help/floci-aws-completion.txt b/docs/help/floci-aws-completion.txt new file mode 100644 index 0000000..bdd7acc --- /dev/null +++ b/docs/help/floci-aws-completion.txt @@ -0,0 +1,17 @@ +Usage: floci aws completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] bash|zsh +Generate shell completion scripts + bash|zsh Shell type: bash or zsh + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-config-default-product.txt b/docs/help/floci-aws-config-default-product.txt new file mode 100644 index 0000000..cb1ef5f --- /dev/null +++ b/docs/help/floci-aws-config-default-product.txt @@ -0,0 +1,18 @@ +Usage: floci aws config default-product [-hqvV] [--json] [--no-color] [--no-emoji] + [--container=] [--endpoint=] [-o=text|json|yaml] + [--profile=] aws|az|gcp|oci +Set the default product for bare commands like 'floci start' + aws|az|gcp|oci Product to use by default: aws, az, gcp, oci + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-config-profile.txt b/docs/help/floci-aws-config-profile.txt new file mode 100644 index 0000000..9163e4e --- /dev/null +++ b/docs/help/floci-aws-config-profile.txt @@ -0,0 +1,30 @@ +Usage: floci aws config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] + [-o=text|json|yaml] [--persist=] [--port=] + [--profile=] [--services=] list|show|create|edit|delete + [] [COMMAND] +Manage Floci AWS configuration profiles + list|show|create|edit|delete + Action: list, show, create, edit, delete + [] Profile name (required for show, create, edit, delete) + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --image= create: Docker image for this instance + --json Shorthand for --output json + --namespace= 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= create: host directory that keeps this instance's state + --port= create: host port for this instance + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --services= 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. diff --git a/docs/help/floci-aws-config-show.txt b/docs/help/floci-aws-config-show.txt new file mode 100644 index 0000000..9023d77 --- /dev/null +++ b/docs/help/floci-aws-config-show.txt @@ -0,0 +1,16 @@ +Usage: floci aws config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show the active Floci AWS configuration + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-config-validate.txt b/docs/help/floci-aws-config-validate.txt new file mode 100644 index 0000000..71117c5 --- /dev/null +++ b/docs/help/floci-aws-config-validate.txt @@ -0,0 +1,18 @@ +Usage: floci aws config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-f=] [-o=text|json|yaml] + [--profile=] +Validate a docker-compose.yml file for Floci AWS compatibility + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --file= Path to docker-compose file + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-config.txt b/docs/help/floci-aws-config.txt new file mode 100644 index 0000000..7475093 --- /dev/null +++ b/docs/help/floci-aws-config.txt @@ -0,0 +1,10 @@ +Usage: floci aws config [-hV] [COMMAND] +Manage Floci configuration + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + show Show the active Floci AWS configuration + validate Validate a docker-compose.yml file for Floci AWS compatibility + profile Manage Floci AWS configuration profiles + default-product Set the default product for bare commands like 'floci start' + help Display help information about the specified command. diff --git a/docs/help/floci-aws-doctor.txt b/docs/help/floci-aws-doctor.txt new file mode 100644 index 0000000..c0528a6 --- /dev/null +++ b/docs/help/floci-aws-doctor.txt @@ -0,0 +1,18 @@ +Usage: floci aws doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=] + [--container=] [--endpoint=] [-o=text|json|yaml] + [--profile=] +Run environment diagnostics for Floci AWS + --check= Run only a specific check by name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-env.txt b/docs/help/floci-aws-env.txt new file mode 100644 index 0000000..47edba1 --- /dev/null +++ b/docs/help/floci-aws-env.txt @@ -0,0 +1,20 @@ +Usage: floci aws env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--host=] [-o=text|json|yaml] [--profile=] + [--region=] [--shell=] +Print AWS environment variables to connect to Floci AWS + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --host= Hostname for the AWS endpoint URL (default: localhost.floci.io) + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --region= AWS region (default: us-east-1) + --shell= Shell format: bash, zsh, sh, fish, powershell (default: bash) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-logs.txt b/docs/help/floci-aws-logs.txt new file mode 100644 index 0000000..d41aeea --- /dev/null +++ b/docs/help/floci-aws-logs.txt @@ -0,0 +1,22 @@ +Usage: floci aws logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--since=] [--tail=] +Fetch logs from the Floci AWS container + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --follow Follow log output + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Filter to a specific service (not yet supported; requires server-side + filtering) + --since= Show logs since duration (e.g. 5m, 1h) or timestamp + --tail= Number of lines from the end (0 = all) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-reset.txt b/docs/help/floci-aws-reset.txt new file mode 100644 index 0000000..13b4a49 --- /dev/null +++ b/docs/help/floci-aws-reset.txt @@ -0,0 +1,17 @@ +Usage: floci aws reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete every resource in the running Floci AWS instance, keeping it running + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. + -y, --yes Reset without asking for confirmation diff --git a/docs/help/floci-aws-restart.txt b/docs/help/floci-aws-restart.txt new file mode 100644 index 0000000..141c86e --- /dev/null +++ b/docs/help/floci-aws-restart.txt @@ -0,0 +1,16 @@ +Usage: floci aws restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Stop and restart the Floci AWS container + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-services.txt b/docs/help/floci-aws-services.txt new file mode 100644 index 0000000..9077715 --- /dev/null +++ b/docs/help/floci-aws-services.txt @@ -0,0 +1,16 @@ +Usage: floci aws services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List services available in the running Floci AWS instance + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-snapshot-delete.txt b/docs/help/floci-aws-snapshot-delete.txt new file mode 100644 index 0000000..44d50fd --- /dev/null +++ b/docs/help/floci-aws-snapshot-delete.txt @@ -0,0 +1,17 @@ +Usage: floci aws snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete a Floci AWS snapshot + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-snapshot-export.txt b/docs/help/floci-aws-snapshot-export.txt new file mode 100644 index 0000000..ba0e9e2 --- /dev/null +++ b/docs/help/floci-aws-snapshot-export.txt @@ -0,0 +1,19 @@ +Usage: floci aws snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [-o=text|json|yaml] + [--profile=] +Export a Floci AWS snapshot to a tarball file + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --file= Destination file path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-snapshot-import.txt b/docs/help/floci-aws-snapshot-import.txt new file mode 100644 index 0000000..655b632 --- /dev/null +++ b/docs/help/floci-aws-snapshot-import.txt @@ -0,0 +1,19 @@ +Usage: floci aws snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [--name=] [-o=text|json|yaml] + [--profile=] +Import a Floci AWS snapshot from a tarball file + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --file= Source tarball path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --name= Name for the imported snapshot + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-snapshot-list.txt b/docs/help/floci-aws-snapshot-list.txt new file mode 100644 index 0000000..25d2625 --- /dev/null +++ b/docs/help/floci-aws-snapshot-list.txt @@ -0,0 +1,16 @@ +Usage: floci aws snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List available Floci AWS snapshots + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-snapshot-load.txt b/docs/help/floci-aws-snapshot-load.txt new file mode 100644 index 0000000..1f8a339 --- /dev/null +++ b/docs/help/floci-aws-snapshot-load.txt @@ -0,0 +1,17 @@ +Usage: floci aws snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Load a Floci AWS snapshot + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-snapshot-save.txt b/docs/help/floci-aws-snapshot-save.txt new file mode 100644 index 0000000..0e39a77 --- /dev/null +++ b/docs/help/floci-aws-snapshot-save.txt @@ -0,0 +1,19 @@ +Usage: floci aws snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-m=] [-o=text|json|yaml] + [--profile=] +Save the current Floci AWS state as a named snapshot + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + -m, --message= Optional description + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-snapshot.txt b/docs/help/floci-aws-snapshot.txt new file mode 100644 index 0000000..7f96ca6 --- /dev/null +++ b/docs/help/floci-aws-snapshot.txt @@ -0,0 +1,12 @@ +Usage: floci aws snapshot [-hV] [COMMAND] +Manage Floci AWS state snapshots + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + save Save the current Floci AWS state as a named snapshot + load Load a Floci AWS snapshot + list List available Floci AWS snapshots + delete Delete a Floci AWS snapshot + export Export a Floci AWS snapshot to a tarball file + import Import a Floci AWS snapshot from a tarball file + help Display help information about the specified command. diff --git a/docs/help/floci-aws-start.txt b/docs/help/floci-aws-start.txt new file mode 100644 index 0000000..0355605 --- /dev/null +++ b/docs/help/floci-aws-start.txt @@ -0,0 +1,27 @@ +Usage: floci aws start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] [-o=text|json|yaml] + [--persist=] [--port=] [--profile=] + [--pull=always|missing|never] [--services=] +Start the Floci AWS emulator container + --container= Floci container name (default: floci) + --detach Return immediately without waiting for readiness + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --image= Image reference to use (default: floci/floci:latest) + --json Shorthand for --output json + --namespace= Docker resource namespace for the containers this instance launches + (default: derived from --container; none for the default 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= Host directory for persistent state + --port= Host port to bind (default: 4566) + --profile= Config profile from ~/.floci/profiles/ + --pull=always|missing|never + Image pull policy: always, missing, never + -q, --quiet Suppress non-error output + --services= Comma-separated list of services to enable + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-status.txt b/docs/help/floci-aws-status.txt new file mode 100644 index 0000000..0674257 --- /dev/null +++ b/docs/help/floci-aws-status.txt @@ -0,0 +1,16 @@ +Usage: floci aws status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show Floci AWS container and server status + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-stop.txt b/docs/help/floci-aws-stop.txt new file mode 100644 index 0000000..fc5e2b3 --- /dev/null +++ b/docs/help/floci-aws-stop.txt @@ -0,0 +1,20 @@ +Usage: floci aws stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] + [--timeout=] +Stop the Floci AWS container + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -r, --remove Remove the container after stopping + --timeout= Seconds to wait before forcefully killing; -1 waits indefinitely + (default: 10) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-version.txt b/docs/help/floci-aws-version.txt new file mode 100644 index 0000000..7c8fbdc --- /dev/null +++ b/docs/help/floci-aws-version.txt @@ -0,0 +1,16 @@ +Usage: floci aws version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show CLI version, connected Floci AWS server version, and image digest + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws-wait.txt b/docs/help/floci-aws-wait.txt new file mode 100644 index 0000000..7389a01 --- /dev/null +++ b/docs/help/floci-aws-wait.txt @@ -0,0 +1,19 @@ +Usage: floci aws wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--timeout=] +Wait until Floci AWS is ready to accept requests + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Wait until a specific service is enabled + --timeout= Maximum time to wait (e.g. 30s, 2m) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-aws.txt b/docs/help/floci-aws.txt new file mode 100644 index 0000000..b83e70a --- /dev/null +++ b/docs/help/floci-aws.txt @@ -0,0 +1,27 @@ +Usage: floci aws [-hV] [COMMAND] +Manage the Floci AWS emulator + + floci aws start — launch the container + floci aws stop — stop the container + floci aws status — show health and version + floci aws doctor — diagnose environment issues + floci aws env — print AWS environment variables + + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + start Start the Floci AWS emulator container + stop Stop the Floci AWS container + restart Stop and restart the Floci AWS container + status Show Floci AWS container and server status + logs Fetch logs from the Floci AWS container + wait Wait until Floci AWS is ready to accept requests + version Show CLI version, connected Floci AWS server version, and image digest + services List services available in the running Floci AWS instance + reset Delete every resource in the running Floci AWS instance, keeping it running + doctor Run environment diagnostics for Floci AWS + env Print AWS environment variables to connect to Floci AWS + config Manage Floci configuration + snapshot Manage Floci AWS state snapshots + completion Generate shell completion scripts + help Display help information about the specified command. diff --git a/docs/help/floci-az-completion.txt b/docs/help/floci-az-completion.txt new file mode 100644 index 0000000..6c1ede3 --- /dev/null +++ b/docs/help/floci-az-completion.txt @@ -0,0 +1,17 @@ +Usage: floci az completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] bash|zsh +Generate shell completion scripts + bash|zsh Shell type: bash or zsh + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-config-profile.txt b/docs/help/floci-az-config-profile.txt new file mode 100644 index 0000000..68ce1bc --- /dev/null +++ b/docs/help/floci-az-config-profile.txt @@ -0,0 +1,30 @@ +Usage: floci az config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] + [-o=text|json|yaml] [--persist=] [--port=] + [--profile=] [--services=] list|show|create|edit|delete + [] [COMMAND] +Manage Floci Azure configuration profiles + list|show|create|edit|delete + Action: list, show, create, edit, delete + [] Profile name (required for show, create, edit, delete) + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --image= create: Docker image for this instance + --json Shorthand for --output json + --namespace= 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= create: host directory that keeps this instance's state + --port= create: host port for this instance + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --services= 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. diff --git a/docs/help/floci-az-config-show.txt b/docs/help/floci-az-config-show.txt new file mode 100644 index 0000000..9761a07 --- /dev/null +++ b/docs/help/floci-az-config-show.txt @@ -0,0 +1,16 @@ +Usage: floci az config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show the active Floci Azure configuration + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-config-validate.txt b/docs/help/floci-az-config-validate.txt new file mode 100644 index 0000000..11a8cf0 --- /dev/null +++ b/docs/help/floci-az-config-validate.txt @@ -0,0 +1,18 @@ +Usage: floci az config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-f=] [-o=text|json|yaml] + [--profile=] +Validate a docker-compose.yml file for Floci Azure compatibility + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -f, --file= Path to docker-compose file + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-config.txt b/docs/help/floci-az-config.txt new file mode 100644 index 0000000..0f56967 --- /dev/null +++ b/docs/help/floci-az-config.txt @@ -0,0 +1,9 @@ +Usage: floci az config [-hV] [COMMAND] +Manage Floci Azure configuration + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + show Show the active Floci Azure configuration + validate Validate a docker-compose.yml file for Floci Azure compatibility + profile Manage Floci Azure configuration profiles + help Display help information about the specified command. diff --git a/docs/help/floci-az-doctor.txt b/docs/help/floci-az-doctor.txt new file mode 100644 index 0000000..b058922 --- /dev/null +++ b/docs/help/floci-az-doctor.txt @@ -0,0 +1,18 @@ +Usage: floci az doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=] + [--container=] [--endpoint=] [-o=text|json|yaml] + [--profile=] +Run environment diagnostics for Floci Azure + --check= Run only a specific check by name + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-env.txt b/docs/help/floci-az-env.txt new file mode 100644 index 0000000..4051997 --- /dev/null +++ b/docs/help/floci-az-env.txt @@ -0,0 +1,25 @@ +Usage: floci az env [-hqvV] [--json] [--no-color] [--no-emoji] [--account=] + [--container=] [--endpoint=] [--format=connection-string|sdk-vars] + [--host=] [-o=text|json|yaml] [--profile=] [--service=] + [--shell=] +Print Azure environment variables to connect to Floci Azure + --account= Storage account name (default: devstoreaccount1) + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + --format=connection-string|sdk-vars + Output mode: connection-string, sdk-vars (default: connection-string) + -h, --help Show this help message and exit. + --host= Hostname for endpoint URLs (default: localhost.floci.io) + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Comma-separated services for sdk-vars mode: blob,queue,table,functions, + app-config,key-vault + --shell= Shell format: bash, zsh, sh, fish, powershell (default: bash) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-logs.txt b/docs/help/floci-az-logs.txt new file mode 100644 index 0000000..9b885e3 --- /dev/null +++ b/docs/help/floci-az-logs.txt @@ -0,0 +1,22 @@ +Usage: floci az logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--since=] [--tail=] +Fetch logs from the Floci Azure container + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -f, --follow Follow log output + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Filter to a specific service (not yet supported; requires server-side + filtering) + --since= Show logs since duration (e.g. 5m, 1h) or timestamp + --tail= Number of lines from the end (0 = all) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-reset.txt b/docs/help/floci-az-reset.txt new file mode 100644 index 0000000..1f4008c --- /dev/null +++ b/docs/help/floci-az-reset.txt @@ -0,0 +1,17 @@ +Usage: floci az reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete every resource in the running Floci Azure instance, keeping it running + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. + -y, --yes Reset without asking for confirmation diff --git a/docs/help/floci-az-restart.txt b/docs/help/floci-az-restart.txt new file mode 100644 index 0000000..cf3d77b --- /dev/null +++ b/docs/help/floci-az-restart.txt @@ -0,0 +1,16 @@ +Usage: floci az restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Stop and restart the Floci Azure container + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-services.txt b/docs/help/floci-az-services.txt new file mode 100644 index 0000000..2caa721 --- /dev/null +++ b/docs/help/floci-az-services.txt @@ -0,0 +1,16 @@ +Usage: floci az services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List services available in the running Floci Azure instance + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-setup.txt b/docs/help/floci-az-setup.txt new file mode 100644 index 0000000..21ab9d8 --- /dev/null +++ b/docs/help/floci-az-setup.txt @@ -0,0 +1,29 @@ +Usage: floci az setup [-hqvV] [--global] [--json] [--no-color] [--no-emoji] [--reset] + [--client-id=] [--client-secret=] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] + [--subscription=] [--tenant=] +Point the az CLI at Floci Azure: trust its certificate, register the cloud and log in + --client-id= Service principal client id (default: + 00000000-0000-0000-0000-000000000003) + --client-secret= + Service principal secret; floci-az does not check it (default: + fake-secret) + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + --global Configure your default az config (~/.azure) instead of an isolated one + under ~/.floci/az + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --reset Undo a previous setup: delete the isolated config, or with --global + switch az back to AzureCloud + --subscription= Subscription to select (default: 00000000-0000-0000-0000-000000000001) + --tenant= Tenant id to log in to (default: 00000000-0000-0000-0000-000000000002) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-snapshot-delete.txt b/docs/help/floci-az-snapshot-delete.txt new file mode 100644 index 0000000..32b1d2c --- /dev/null +++ b/docs/help/floci-az-snapshot-delete.txt @@ -0,0 +1,17 @@ +Usage: floci az snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete a Floci Azure snapshot + Snapshot name + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-snapshot-export.txt b/docs/help/floci-az-snapshot-export.txt new file mode 100644 index 0000000..23e5de5 --- /dev/null +++ b/docs/help/floci-az-snapshot-export.txt @@ -0,0 +1,19 @@ +Usage: floci az snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [-o=text|json|yaml] [--profile=] + +Export a Floci Azure snapshot to a tarball file + Snapshot name + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -f, --file= Destination file path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-snapshot-import.txt b/docs/help/floci-az-snapshot-import.txt new file mode 100644 index 0000000..0c152ac --- /dev/null +++ b/docs/help/floci-az-snapshot-import.txt @@ -0,0 +1,19 @@ +Usage: floci az snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [--name=] [-o=text|json|yaml] + [--profile=] +Import a Floci Azure snapshot from a tarball file + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -f, --file= Source tarball path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --name= Name for the imported snapshot + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-snapshot-list.txt b/docs/help/floci-az-snapshot-list.txt new file mode 100644 index 0000000..695acc7 --- /dev/null +++ b/docs/help/floci-az-snapshot-list.txt @@ -0,0 +1,16 @@ +Usage: floci az snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List available Floci Azure snapshots + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-snapshot-load.txt b/docs/help/floci-az-snapshot-load.txt new file mode 100644 index 0000000..6a14af6 --- /dev/null +++ b/docs/help/floci-az-snapshot-load.txt @@ -0,0 +1,17 @@ +Usage: floci az snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Load a Floci Azure snapshot + Snapshot name + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-snapshot-save.txt b/docs/help/floci-az-snapshot-save.txt new file mode 100644 index 0000000..ca8f9fc --- /dev/null +++ b/docs/help/floci-az-snapshot-save.txt @@ -0,0 +1,19 @@ +Usage: floci az snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-m=] [-o=text|json|yaml] [--profile=] + +Save the current Floci Azure state as a named snapshot + Snapshot name + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + -m, --message= Optional description + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-snapshot.txt b/docs/help/floci-az-snapshot.txt new file mode 100644 index 0000000..20ca1e5 --- /dev/null +++ b/docs/help/floci-az-snapshot.txt @@ -0,0 +1,12 @@ +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. diff --git a/docs/help/floci-az-start.txt b/docs/help/floci-az-start.txt new file mode 100644 index 0000000..ce12c02 --- /dev/null +++ b/docs/help/floci-az-start.txt @@ -0,0 +1,27 @@ +Usage: floci az start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] [-o=text|json|yaml] + [--persist=] [--port=] [--profile=] + [--pull=always|missing|never] [--services=] +Start the Floci Azure emulator container + --container= Floci container name (default: floci-az) + --detach Return immediately without waiting for readiness + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --image= Image reference to use (default: floci/floci-az:latest) + --json Shorthand for --output json + --namespace= Docker resource namespace for the containers this instance launches + (default: derived from --container; none for the default 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= Host directory for persistent state + --port= Host port to bind (default: 4577) + --profile= Config profile from ~/.floci/profiles/ + --pull=always|missing|never + Image pull policy: always, missing, never + -q, --quiet Suppress non-error output + --services= Comma-separated list of services to enable + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-status.txt b/docs/help/floci-az-status.txt new file mode 100644 index 0000000..0c47df8 --- /dev/null +++ b/docs/help/floci-az-status.txt @@ -0,0 +1,16 @@ +Usage: floci az status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show Floci Azure container and server status + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-stop.txt b/docs/help/floci-az-stop.txt new file mode 100644 index 0000000..1bad530 --- /dev/null +++ b/docs/help/floci-az-stop.txt @@ -0,0 +1,19 @@ +Usage: floci az stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--timeout=] +Stop the Floci Azure container + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -r, --remove Remove the container after stopping + --timeout= Seconds to wait before forcefully killing; -1 waits indefinitely + (default: 10) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-version.txt b/docs/help/floci-az-version.txt new file mode 100644 index 0000000..57e85f4 --- /dev/null +++ b/docs/help/floci-az-version.txt @@ -0,0 +1,16 @@ +Usage: floci az version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show CLI version, connected Floci Azure server version, and image digest + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az-wait.txt b/docs/help/floci-az-wait.txt new file mode 100644 index 0000000..63f8ccb --- /dev/null +++ b/docs/help/floci-az-wait.txt @@ -0,0 +1,19 @@ +Usage: floci az wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--timeout=] +Wait until Floci Azure is ready to accept requests + --container= Floci container name (default: floci-az) + --endpoint= Floci server endpoint URL (default: http://localhost:4577) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Wait until a specific service is enabled + --timeout= Maximum time to wait (e.g. 30s, 2m) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-az.txt b/docs/help/floci-az.txt new file mode 100644 index 0000000..53a79ce --- /dev/null +++ b/docs/help/floci-az.txt @@ -0,0 +1,29 @@ +Usage: floci az [-hV] [COMMAND] +Manage the Floci Azure emulator (floci-az) + + floci az start — launch the container + floci az stop — stop the container + floci az status — show health and version + floci az doctor — diagnose environment issues + floci az env — print Azure environment variables + floci az setup — point the az CLI at the emulator (cert, cloud, login) + + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + start Start the Floci Azure emulator container + stop Stop the Floci Azure container + restart Stop and restart the Floci Azure container + status Show Floci Azure container and server status + logs Fetch logs from the Floci Azure container + wait Wait until Floci Azure is ready to accept requests + version Show CLI version, connected Floci Azure server version, and image digest + services List services available in the running Floci Azure instance + reset Delete every resource in the running Floci Azure instance, keeping it running + doctor Run environment diagnostics for Floci Azure + env Print Azure environment variables to connect to Floci Azure + setup Point the az CLI at Floci Azure: trust its certificate, register the cloud and log in + config Manage Floci Azure configuration + snapshot Manage Floci Azure state snapshots + completion Generate shell completion scripts + help Display help information about the specified command. diff --git a/docs/help/floci-completion.txt b/docs/help/floci-completion.txt new file mode 100644 index 0000000..830e7eb --- /dev/null +++ b/docs/help/floci-completion.txt @@ -0,0 +1,17 @@ +Usage: floci completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] bash|zsh +Generate shell completion scripts + bash|zsh Shell type: bash or zsh + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-config-default-product.txt b/docs/help/floci-config-default-product.txt new file mode 100644 index 0000000..e97cf48 --- /dev/null +++ b/docs/help/floci-config-default-product.txt @@ -0,0 +1,18 @@ +Usage: floci config default-product [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] + aws|az|gcp|oci +Set the default product for bare commands like 'floci start' + aws|az|gcp|oci Product to use by default: aws, az, gcp, oci + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-config-profile.txt b/docs/help/floci-config-profile.txt new file mode 100644 index 0000000..4dd43bd --- /dev/null +++ b/docs/help/floci-config-profile.txt @@ -0,0 +1,30 @@ +Usage: floci config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] + [-o=text|json|yaml] [--persist=] [--port=] + [--profile=] [--services=] list|show|create|edit|delete + [] [COMMAND] +Manage Floci AWS configuration profiles + list|show|create|edit|delete + Action: list, show, create, edit, delete + [] Profile name (required for show, create, edit, delete) + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --image= create: Docker image for this instance + --json Shorthand for --output json + --namespace= 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= create: host directory that keeps this instance's state + --port= create: host port for this instance + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --services= 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. diff --git a/docs/help/floci-config-show.txt b/docs/help/floci-config-show.txt new file mode 100644 index 0000000..6345948 --- /dev/null +++ b/docs/help/floci-config-show.txt @@ -0,0 +1,16 @@ +Usage: floci config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show the active Floci AWS configuration + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-config-validate.txt b/docs/help/floci-config-validate.txt new file mode 100644 index 0000000..f68ac49 --- /dev/null +++ b/docs/help/floci-config-validate.txt @@ -0,0 +1,17 @@ +Usage: floci config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-f=] [-o=text|json|yaml] [--profile=] +Validate a docker-compose.yml file for Floci AWS compatibility + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --file= Path to docker-compose file + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-config.txt b/docs/help/floci-config.txt new file mode 100644 index 0000000..c7efbf6 --- /dev/null +++ b/docs/help/floci-config.txt @@ -0,0 +1,10 @@ +Usage: floci config [-hV] [COMMAND] +Manage Floci configuration + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + show Show the active Floci AWS configuration + validate Validate a docker-compose.yml file for Floci AWS compatibility + profile Manage Floci AWS configuration profiles + default-product Set the default product for bare commands like 'floci start' + help Display help information about the specified command. diff --git a/docs/help/floci-doctor.txt b/docs/help/floci-doctor.txt new file mode 100644 index 0000000..d51e403 --- /dev/null +++ b/docs/help/floci-doctor.txt @@ -0,0 +1,17 @@ +Usage: floci doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=] + [--container=] [--endpoint=] [-o=text|json|yaml] [--profile=] +Run environment diagnostics for Floci AWS + --check= Run only a specific check by name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-env.txt b/docs/help/floci-env.txt new file mode 100644 index 0000000..7f2c72a --- /dev/null +++ b/docs/help/floci-env.txt @@ -0,0 +1,20 @@ +Usage: floci env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] [--endpoint=] + [--host=] [-o=text|json|yaml] [--profile=] [--region=] + [--shell=] +Print AWS environment variables to connect to Floci AWS + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --host= Hostname for the AWS endpoint URL (default: localhost.floci.io) + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --region= AWS region (default: us-east-1) + --shell= Shell format: bash, zsh, sh, fish, powershell (default: bash) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-completion.txt b/docs/help/floci-gcp-completion.txt new file mode 100644 index 0000000..5e475ca --- /dev/null +++ b/docs/help/floci-gcp-completion.txt @@ -0,0 +1,17 @@ +Usage: floci gcp completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] bash|zsh +Generate shell completion scripts + bash|zsh Shell type: bash or zsh + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-config-profile.txt b/docs/help/floci-gcp-config-profile.txt new file mode 100644 index 0000000..da3d6be --- /dev/null +++ b/docs/help/floci-gcp-config-profile.txt @@ -0,0 +1,30 @@ +Usage: floci gcp config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] + [-o=text|json|yaml] [--persist=] [--port=] + [--profile=] [--services=] list|show|create|edit|delete + [] [COMMAND] +Manage Floci GCP configuration profiles + list|show|create|edit|delete + Action: list, show, create, edit, delete + [] Profile name (required for show, create, edit, delete) + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --image= create: Docker image for this instance + --json Shorthand for --output json + --namespace= 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= create: host directory that keeps this instance's state + --port= create: host port for this instance + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --services= 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. diff --git a/docs/help/floci-gcp-config-show.txt b/docs/help/floci-gcp-config-show.txt new file mode 100644 index 0000000..58e6558 --- /dev/null +++ b/docs/help/floci-gcp-config-show.txt @@ -0,0 +1,16 @@ +Usage: floci gcp config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show the active Floci GCP configuration + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-config-validate.txt b/docs/help/floci-gcp-config-validate.txt new file mode 100644 index 0000000..a20c122 --- /dev/null +++ b/docs/help/floci-gcp-config-validate.txt @@ -0,0 +1,18 @@ +Usage: floci gcp config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-f=] [-o=text|json|yaml] + [--profile=] +Validate a docker-compose.yml file for Floci GCP compatibility + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -f, --file= Path to docker-compose file + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-config.txt b/docs/help/floci-gcp-config.txt new file mode 100644 index 0000000..6f7834e --- /dev/null +++ b/docs/help/floci-gcp-config.txt @@ -0,0 +1,9 @@ +Usage: floci gcp config [-hV] [COMMAND] +Manage Floci GCP configuration + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + show Show the active Floci GCP configuration + validate Validate a docker-compose.yml file for Floci GCP compatibility + profile Manage Floci GCP configuration profiles + help Display help information about the specified command. diff --git a/docs/help/floci-gcp-doctor.txt b/docs/help/floci-gcp-doctor.txt new file mode 100644 index 0000000..bb42c0d --- /dev/null +++ b/docs/help/floci-gcp-doctor.txt @@ -0,0 +1,18 @@ +Usage: floci gcp doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=] + [--container=] [--endpoint=] [-o=text|json|yaml] + [--profile=] +Run environment diagnostics for Floci GCP + --check= Run only a specific check by name + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-env.txt b/docs/help/floci-gcp-env.txt new file mode 100644 index 0000000..da9a06c --- /dev/null +++ b/docs/help/floci-gcp-env.txt @@ -0,0 +1,20 @@ +Usage: floci gcp env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--shell=] +Print GCP environment variables to connect to Floci GCP + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Comma-separated services: gcs,pubsub,firestore,datastore,secretmanager, + iam + --shell= Shell format: bash, zsh, sh, fish, powershell (default: bash) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-logs.txt b/docs/help/floci-gcp-logs.txt new file mode 100644 index 0000000..ec24c4b --- /dev/null +++ b/docs/help/floci-gcp-logs.txt @@ -0,0 +1,22 @@ +Usage: floci gcp logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--since=] [--tail=] +Fetch logs from the Floci GCP container + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -f, --follow Follow log output + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Filter to a specific service (not yet supported; requires server-side + filtering) + --since= Show logs since duration (e.g. 5m, 1h) or timestamp + --tail= Number of lines from the end (0 = all) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-reset.txt b/docs/help/floci-gcp-reset.txt new file mode 100644 index 0000000..5ac7cb5 --- /dev/null +++ b/docs/help/floci-gcp-reset.txt @@ -0,0 +1,17 @@ +Usage: floci gcp reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete every resource in the running Floci GCP instance, keeping it running + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. + -y, --yes Reset without asking for confirmation diff --git a/docs/help/floci-gcp-restart.txt b/docs/help/floci-gcp-restart.txt new file mode 100644 index 0000000..82cceab --- /dev/null +++ b/docs/help/floci-gcp-restart.txt @@ -0,0 +1,16 @@ +Usage: floci gcp restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Stop and restart the Floci GCP container + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-services.txt b/docs/help/floci-gcp-services.txt new file mode 100644 index 0000000..b8fafa7 --- /dev/null +++ b/docs/help/floci-gcp-services.txt @@ -0,0 +1,16 @@ +Usage: floci gcp services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List services available in the running Floci GCP instance + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-snapshot-delete.txt b/docs/help/floci-gcp-snapshot-delete.txt new file mode 100644 index 0000000..5668e3e --- /dev/null +++ b/docs/help/floci-gcp-snapshot-delete.txt @@ -0,0 +1,17 @@ +Usage: floci gcp snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete a Floci GCP snapshot + Snapshot name + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-snapshot-export.txt b/docs/help/floci-gcp-snapshot-export.txt new file mode 100644 index 0000000..83f9124 --- /dev/null +++ b/docs/help/floci-gcp-snapshot-export.txt @@ -0,0 +1,19 @@ +Usage: floci gcp snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [-o=text|json|yaml] + [--profile=] +Export a Floci GCP snapshot to a tarball file + Snapshot name + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -f, --file= Destination file path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-snapshot-import.txt b/docs/help/floci-gcp-snapshot-import.txt new file mode 100644 index 0000000..91ac5cf --- /dev/null +++ b/docs/help/floci-gcp-snapshot-import.txt @@ -0,0 +1,19 @@ +Usage: floci gcp snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [--name=] [-o=text|json|yaml] + [--profile=] +Import a Floci GCP snapshot from a tarball file + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -f, --file= Source tarball path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --name= Name for the imported snapshot + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-snapshot-list.txt b/docs/help/floci-gcp-snapshot-list.txt new file mode 100644 index 0000000..ab538f9 --- /dev/null +++ b/docs/help/floci-gcp-snapshot-list.txt @@ -0,0 +1,16 @@ +Usage: floci gcp snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List available Floci GCP snapshots + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-snapshot-load.txt b/docs/help/floci-gcp-snapshot-load.txt new file mode 100644 index 0000000..fd881f1 --- /dev/null +++ b/docs/help/floci-gcp-snapshot-load.txt @@ -0,0 +1,17 @@ +Usage: floci gcp snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Load a Floci GCP snapshot + Snapshot name + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-snapshot-save.txt b/docs/help/floci-gcp-snapshot-save.txt new file mode 100644 index 0000000..d602beb --- /dev/null +++ b/docs/help/floci-gcp-snapshot-save.txt @@ -0,0 +1,19 @@ +Usage: floci gcp snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-m=] [-o=text|json|yaml] + [--profile=] +Save the current Floci GCP state as a named snapshot + Snapshot name + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + -m, --message= Optional description + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-snapshot.txt b/docs/help/floci-gcp-snapshot.txt new file mode 100644 index 0000000..080cf1b --- /dev/null +++ b/docs/help/floci-gcp-snapshot.txt @@ -0,0 +1,12 @@ +Usage: floci gcp snapshot [-hV] [COMMAND] +Manage Floci GCP state snapshots + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + save Save the current Floci GCP state as a named snapshot + load Load a Floci GCP snapshot + list List available Floci GCP snapshots + delete Delete a Floci GCP snapshot + export Export a Floci GCP snapshot to a tarball file + import Import a Floci GCP snapshot from a tarball file + help Display help information about the specified command. diff --git a/docs/help/floci-gcp-start.txt b/docs/help/floci-gcp-start.txt new file mode 100644 index 0000000..a10aa40 --- /dev/null +++ b/docs/help/floci-gcp-start.txt @@ -0,0 +1,27 @@ +Usage: floci gcp start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] [-o=text|json|yaml] + [--persist=] [--port=] [--profile=] + [--pull=always|missing|never] [--services=] +Start the Floci GCP emulator container + --container= Floci container name (default: floci-gcp) + --detach Return immediately without waiting for readiness + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --image= Image reference to use (default: floci/floci-gcp:latest) + --json Shorthand for --output json + --namespace= Docker resource namespace for the containers this instance launches + (default: derived from --container; none for the default 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= Host directory for persistent state + --port= Host port to bind (default: 4588) + --profile= Config profile from ~/.floci/profiles/ + --pull=always|missing|never + Image pull policy: always, missing, never + -q, --quiet Suppress non-error output + --services= Comma-separated list of services to enable + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-status.txt b/docs/help/floci-gcp-status.txt new file mode 100644 index 0000000..8384235 --- /dev/null +++ b/docs/help/floci-gcp-status.txt @@ -0,0 +1,16 @@ +Usage: floci gcp status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show Floci GCP container and server status + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-stop.txt b/docs/help/floci-gcp-stop.txt new file mode 100644 index 0000000..ec6e2ee --- /dev/null +++ b/docs/help/floci-gcp-stop.txt @@ -0,0 +1,20 @@ +Usage: floci gcp stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] + [--timeout=] +Stop the Floci GCP container + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -r, --remove Remove the container after stopping + --timeout= Seconds to wait before forcefully killing; -1 waits indefinitely + (default: 10) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-version.txt b/docs/help/floci-gcp-version.txt new file mode 100644 index 0000000..65bba19 --- /dev/null +++ b/docs/help/floci-gcp-version.txt @@ -0,0 +1,16 @@ +Usage: floci gcp version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show CLI version, connected Floci GCP server version, and image digest + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp-wait.txt b/docs/help/floci-gcp-wait.txt new file mode 100644 index 0000000..73fa3d2 --- /dev/null +++ b/docs/help/floci-gcp-wait.txt @@ -0,0 +1,19 @@ +Usage: floci gcp wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--timeout=] +Wait until Floci GCP is ready to accept requests + --container= Floci container name (default: floci-gcp) + --endpoint= Floci server endpoint URL (default: http://localhost:4588) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Wait until a specific service is enabled + --timeout= Maximum time to wait (e.g. 30s, 2m) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-gcp.txt b/docs/help/floci-gcp.txt new file mode 100644 index 0000000..f6056b6 --- /dev/null +++ b/docs/help/floci-gcp.txt @@ -0,0 +1,27 @@ +Usage: floci gcp [-hV] [COMMAND] +Manage the Floci GCP emulator (floci-gcp) + + floci gcp start — launch the container + floci gcp stop — stop the container + floci gcp status — show health and version + floci gcp doctor — diagnose environment issues + floci gcp env — print GCP environment variables + + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + start Start the Floci GCP emulator container + stop Stop the Floci GCP container + restart Stop and restart the Floci GCP container + status Show Floci GCP container and server status + logs Fetch logs from the Floci GCP container + wait Wait until Floci GCP is ready to accept requests + version Show CLI version, connected Floci GCP server version, and image digest + services List services available in the running Floci GCP instance + reset Delete every resource in the running Floci GCP instance, keeping it running + doctor Run environment diagnostics for Floci GCP + env Print GCP environment variables to connect to Floci GCP + config Manage Floci GCP configuration + snapshot Manage Floci GCP state snapshots + completion Generate shell completion scripts + help Display help information about the specified command. diff --git a/docs/help/floci-logs.txt b/docs/help/floci-logs.txt new file mode 100644 index 0000000..042c745 --- /dev/null +++ b/docs/help/floci-logs.txt @@ -0,0 +1,22 @@ +Usage: floci logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--since=] [--tail=] +Fetch logs from the Floci AWS container + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --follow Follow log output + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Filter to a specific service (not yet supported; requires server-side + filtering) + --since= Show logs since duration (e.g. 5m, 1h) or timestamp + --tail= Number of lines from the end (0 = all) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-completion.txt b/docs/help/floci-oci-completion.txt new file mode 100644 index 0000000..4de125f --- /dev/null +++ b/docs/help/floci-oci-completion.txt @@ -0,0 +1,17 @@ +Usage: floci oci completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] bash|zsh +Generate shell completion scripts + bash|zsh Shell type: bash or zsh + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-config-profile.txt b/docs/help/floci-oci-config-profile.txt new file mode 100644 index 0000000..5913388 --- /dev/null +++ b/docs/help/floci-oci-config-profile.txt @@ -0,0 +1,30 @@ +Usage: floci oci config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] + [-o=text|json|yaml] [--persist=] [--port=] + [--profile=] [--services=] list|show|create|edit|delete + [] [COMMAND] +Manage Floci OCI configuration profiles + list|show|create|edit|delete + Action: list, show, create, edit, delete + [] Profile name (required for show, create, edit, delete) + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --image= create: Docker image for this instance + --json Shorthand for --output json + --namespace= 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= create: host directory that keeps this instance's state + --port= create: host port for this instance + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --services= 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. diff --git a/docs/help/floci-oci-config-show.txt b/docs/help/floci-oci-config-show.txt new file mode 100644 index 0000000..a353675 --- /dev/null +++ b/docs/help/floci-oci-config-show.txt @@ -0,0 +1,16 @@ +Usage: floci oci config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show the active Floci OCI configuration + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-config-validate.txt b/docs/help/floci-oci-config-validate.txt new file mode 100644 index 0000000..a0f60aa --- /dev/null +++ b/docs/help/floci-oci-config-validate.txt @@ -0,0 +1,18 @@ +Usage: floci oci config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-f=] [-o=text|json|yaml] + [--profile=] +Validate a docker-compose.yml file for Floci OCI compatibility + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -f, --file= Path to docker-compose file + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-config.txt b/docs/help/floci-oci-config.txt new file mode 100644 index 0000000..29cad57 --- /dev/null +++ b/docs/help/floci-oci-config.txt @@ -0,0 +1,9 @@ +Usage: floci oci config [-hV] [COMMAND] +Manage Floci OCI configuration + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + show Show the active Floci OCI configuration + validate Validate a docker-compose.yml file for Floci OCI compatibility + profile Manage Floci OCI configuration profiles + help Display help information about the specified command. diff --git a/docs/help/floci-oci-doctor.txt b/docs/help/floci-oci-doctor.txt new file mode 100644 index 0000000..b2a71d8 --- /dev/null +++ b/docs/help/floci-oci-doctor.txt @@ -0,0 +1,18 @@ +Usage: floci oci doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=] + [--container=] [--endpoint=] [-o=text|json|yaml] + [--profile=] +Run environment diagnostics for Floci OCI + --check= Run only a specific check by name + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-env.txt b/docs/help/floci-oci-env.txt new file mode 100644 index 0000000..d44f382 --- /dev/null +++ b/docs/help/floci-oci-env.txt @@ -0,0 +1,17 @@ +Usage: floci oci env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--shell=] +Print OCI environment variables to connect to Floci OCI + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --shell= Shell format: bash, zsh, sh, fish, powershell (default: bash) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-logs.txt b/docs/help/floci-oci-logs.txt new file mode 100644 index 0000000..04e1119 --- /dev/null +++ b/docs/help/floci-oci-logs.txt @@ -0,0 +1,22 @@ +Usage: floci oci logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--since=] [--tail=] +Fetch logs from the Floci OCI container + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -f, --follow Follow log output + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Filter to a specific service (not yet supported; requires server-side + filtering) + --since= Show logs since duration (e.g. 5m, 1h) or timestamp + --tail= Number of lines from the end (0 = all) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-reset.txt b/docs/help/floci-oci-reset.txt new file mode 100644 index 0000000..5578b2e --- /dev/null +++ b/docs/help/floci-oci-reset.txt @@ -0,0 +1,17 @@ +Usage: floci oci reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete every resource in the running Floci OCI instance, keeping it running + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. + -y, --yes Reset without asking for confirmation diff --git a/docs/help/floci-oci-restart.txt b/docs/help/floci-oci-restart.txt new file mode 100644 index 0000000..cd6ca54 --- /dev/null +++ b/docs/help/floci-oci-restart.txt @@ -0,0 +1,16 @@ +Usage: floci oci restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Stop and restart the Floci OCI container + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-services.txt b/docs/help/floci-oci-services.txt new file mode 100644 index 0000000..f174fcd --- /dev/null +++ b/docs/help/floci-oci-services.txt @@ -0,0 +1,16 @@ +Usage: floci oci services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List services available in the running Floci OCI instance + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-setup.txt b/docs/help/floci-oci-setup.txt new file mode 100644 index 0000000..e68eb01 --- /dev/null +++ b/docs/help/floci-oci-setup.txt @@ -0,0 +1,19 @@ +Usage: floci oci setup [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] + [--profile-name=] +Create a local OCI CLI profile (API key + ~/.oci/config) for the emulator + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + --profile-name= + Profile section name to write in ~/.oci/config (default: FLOCI) + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-snapshot-delete.txt b/docs/help/floci-oci-snapshot-delete.txt new file mode 100644 index 0000000..0ab58ac --- /dev/null +++ b/docs/help/floci-oci-snapshot-delete.txt @@ -0,0 +1,17 @@ +Usage: floci oci snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete a Floci OCI snapshot + Snapshot name + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-snapshot-export.txt b/docs/help/floci-oci-snapshot-export.txt new file mode 100644 index 0000000..9bbdf8c --- /dev/null +++ b/docs/help/floci-oci-snapshot-export.txt @@ -0,0 +1,19 @@ +Usage: floci oci snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [-o=text|json|yaml] + [--profile=] +Export a Floci OCI snapshot to a tarball file + Snapshot name + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -f, --file= Destination file path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-snapshot-import.txt b/docs/help/floci-oci-snapshot-import.txt new file mode 100644 index 0000000..6cbb3e7 --- /dev/null +++ b/docs/help/floci-oci-snapshot-import.txt @@ -0,0 +1,19 @@ +Usage: floci oci snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [--name=] [-o=text|json|yaml] + [--profile=] +Import a Floci OCI snapshot from a tarball file + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -f, --file= Source tarball path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --name= Name for the imported snapshot + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-snapshot-list.txt b/docs/help/floci-oci-snapshot-list.txt new file mode 100644 index 0000000..f905ac5 --- /dev/null +++ b/docs/help/floci-oci-snapshot-list.txt @@ -0,0 +1,16 @@ +Usage: floci oci snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List available Floci OCI snapshots + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-snapshot-load.txt b/docs/help/floci-oci-snapshot-load.txt new file mode 100644 index 0000000..132882f --- /dev/null +++ b/docs/help/floci-oci-snapshot-load.txt @@ -0,0 +1,17 @@ +Usage: floci oci snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Load a Floci OCI snapshot + Snapshot name + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-snapshot-save.txt b/docs/help/floci-oci-snapshot-save.txt new file mode 100644 index 0000000..446fa3e --- /dev/null +++ b/docs/help/floci-oci-snapshot-save.txt @@ -0,0 +1,19 @@ +Usage: floci oci snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-m=] [-o=text|json|yaml] + [--profile=] +Save the current Floci OCI state as a named snapshot + Snapshot name + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + -m, --message= Optional description + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-snapshot.txt b/docs/help/floci-oci-snapshot.txt new file mode 100644 index 0000000..c36afa2 --- /dev/null +++ b/docs/help/floci-oci-snapshot.txt @@ -0,0 +1,12 @@ +Usage: floci oci snapshot [-hV] [COMMAND] +Manage Floci OCI state snapshots + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + save Save the current Floci OCI state as a named snapshot + load Load a Floci OCI snapshot + list List available Floci OCI snapshots + delete Delete a Floci OCI snapshot + export Export a Floci OCI snapshot to a tarball file + import Import a Floci OCI snapshot from a tarball file + help Display help information about the specified command. diff --git a/docs/help/floci-oci-start.txt b/docs/help/floci-oci-start.txt new file mode 100644 index 0000000..45ce9c5 --- /dev/null +++ b/docs/help/floci-oci-start.txt @@ -0,0 +1,27 @@ +Usage: floci oci start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] [-o=text|json|yaml] + [--persist=] [--port=] [--profile=] + [--pull=always|missing|never] [--services=] +Start the Floci OCI emulator container + --container= Floci container name (default: floci-oci) + --detach Return immediately without waiting for readiness + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --image= Image reference to use (default: floci/floci-oci:latest) + --json Shorthand for --output json + --namespace= Docker resource namespace for the containers this instance launches + (default: derived from --container; none for the default 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= Host directory for persistent state + --port= Host port to bind (default: 4599) + --profile= Config profile from ~/.floci/profiles/ + --pull=always|missing|never + Image pull policy: always, missing, never + -q, --quiet Suppress non-error output + --services= Comma-separated list of services to enable + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-status.txt b/docs/help/floci-oci-status.txt new file mode 100644 index 0000000..725dcff --- /dev/null +++ b/docs/help/floci-oci-status.txt @@ -0,0 +1,16 @@ +Usage: floci oci status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show Floci OCI container and server status + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-stop.txt b/docs/help/floci-oci-stop.txt new file mode 100644 index 0000000..ff0bd28 --- /dev/null +++ b/docs/help/floci-oci-stop.txt @@ -0,0 +1,20 @@ +Usage: floci oci stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] + [--timeout=] +Stop the Floci OCI container + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -r, --remove Remove the container after stopping + --timeout= Seconds to wait before forcefully killing; -1 waits indefinitely + (default: 10) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-version.txt b/docs/help/floci-oci-version.txt new file mode 100644 index 0000000..87c7918 --- /dev/null +++ b/docs/help/floci-oci-version.txt @@ -0,0 +1,16 @@ +Usage: floci oci version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show CLI version, connected Floci OCI server version, and image digest + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci-wait.txt b/docs/help/floci-oci-wait.txt new file mode 100644 index 0000000..551de79 --- /dev/null +++ b/docs/help/floci-oci-wait.txt @@ -0,0 +1,19 @@ +Usage: floci oci wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--timeout=] +Wait until Floci OCI is ready to accept requests + --container= Floci container name (default: floci-oci) + --endpoint= Floci server endpoint URL (default: http://localhost:4599) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Wait until a specific service is enabled + --timeout= Maximum time to wait (e.g. 30s, 2m) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-oci.txt b/docs/help/floci-oci.txt new file mode 100644 index 0000000..8ffd15f --- /dev/null +++ b/docs/help/floci-oci.txt @@ -0,0 +1,29 @@ +Usage: floci oci [-hV] [COMMAND] +Manage the Floci OCI emulator (floci-oci) + + floci oci start — launch the container + floci oci stop — stop the container + floci oci status — show health and version + floci oci doctor — diagnose environment issues + floci oci env — print OCI environment variables + floci oci setup — create a local OCI CLI profile (key + ~/.oci/config) + + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + start Start the Floci OCI emulator container + stop Stop the Floci OCI container + restart Stop and restart the Floci OCI container + status Show Floci OCI container and server status + logs Fetch logs from the Floci OCI container + wait Wait until Floci OCI is ready to accept requests + version Show CLI version, connected Floci OCI server version, and image digest + services List services available in the running Floci OCI instance + reset Delete every resource in the running Floci OCI instance, keeping it running + doctor Run environment diagnostics for Floci OCI + env Print OCI environment variables to connect to Floci OCI + setup Create a local OCI CLI profile (API key + ~/.oci/config) for the emulator + config Manage Floci OCI configuration + snapshot Manage Floci OCI state snapshots + completion Generate shell completion scripts + help Display help information about the specified command. diff --git a/docs/help/floci-reset.txt b/docs/help/floci-reset.txt new file mode 100644 index 0000000..1dfec6a --- /dev/null +++ b/docs/help/floci-reset.txt @@ -0,0 +1,17 @@ +Usage: floci reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete every resource in the running Floci AWS instance, keeping it running + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. + -y, --yes Reset without asking for confirmation diff --git a/docs/help/floci-restart.txt b/docs/help/floci-restart.txt new file mode 100644 index 0000000..97aa293 --- /dev/null +++ b/docs/help/floci-restart.txt @@ -0,0 +1,16 @@ +Usage: floci restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Stop and restart the Floci AWS container + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-services.txt b/docs/help/floci-services.txt new file mode 100644 index 0000000..21cfcdc --- /dev/null +++ b/docs/help/floci-services.txt @@ -0,0 +1,16 @@ +Usage: floci services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List services available in the running Floci AWS instance + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-snapshot-delete.txt b/docs/help/floci-snapshot-delete.txt new file mode 100644 index 0000000..4e4610b --- /dev/null +++ b/docs/help/floci-snapshot-delete.txt @@ -0,0 +1,17 @@ +Usage: floci snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Delete a Floci AWS snapshot + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-snapshot-export.txt b/docs/help/floci-snapshot-export.txt new file mode 100644 index 0000000..fdf8964 --- /dev/null +++ b/docs/help/floci-snapshot-export.txt @@ -0,0 +1,19 @@ +Usage: floci snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [-o=text|json|yaml] [--profile=] + +Export a Floci AWS snapshot to a tarball file + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --file= Destination file path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-snapshot-import.txt b/docs/help/floci-snapshot-import.txt new file mode 100644 index 0000000..7de027b --- /dev/null +++ b/docs/help/floci-snapshot-import.txt @@ -0,0 +1,19 @@ +Usage: floci snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] -f= [--name=] [-o=text|json|yaml] + [--profile=] +Import a Floci AWS snapshot from a tarball file + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -f, --file= Source tarball path + -h, --help Show this help message and exit. + --json Shorthand for --output json + --name= Name for the imported snapshot + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-snapshot-list.txt b/docs/help/floci-snapshot-list.txt new file mode 100644 index 0000000..75efcbf --- /dev/null +++ b/docs/help/floci-snapshot-list.txt @@ -0,0 +1,16 @@ +Usage: floci snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +List available Floci AWS snapshots + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-snapshot-load.txt b/docs/help/floci-snapshot-load.txt new file mode 100644 index 0000000..7520285 --- /dev/null +++ b/docs/help/floci-snapshot-load.txt @@ -0,0 +1,17 @@ +Usage: floci snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Load a Floci AWS snapshot + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-snapshot-save.txt b/docs/help/floci-snapshot-save.txt new file mode 100644 index 0000000..eb8bbfc --- /dev/null +++ b/docs/help/floci-snapshot-save.txt @@ -0,0 +1,19 @@ +Usage: floci snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-m=] [-o=text|json|yaml] [--profile=] + +Save the current Floci AWS state as a named snapshot + Snapshot name + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + -m, --message= Optional description + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-snapshot.txt b/docs/help/floci-snapshot.txt new file mode 100644 index 0000000..8eaee13 --- /dev/null +++ b/docs/help/floci-snapshot.txt @@ -0,0 +1,12 @@ +Usage: floci snapshot [-hV] [COMMAND] +Manage Floci AWS state snapshots + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + save Save the current Floci AWS state as a named snapshot + load Load a Floci AWS snapshot + list List available Floci AWS snapshots + delete Delete a Floci AWS snapshot + export Export a Floci AWS snapshot to a tarball file + import Import a Floci AWS snapshot from a tarball file + help Display help information about the specified command. diff --git a/docs/help/floci-start.txt b/docs/help/floci-start.txt new file mode 100644 index 0000000..dbcb69d --- /dev/null +++ b/docs/help/floci-start.txt @@ -0,0 +1,27 @@ +Usage: floci start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [--image=] [--namespace=] [-o=text|json|yaml] + [--persist=] [--port=] [--profile=] + [--pull=always|missing|never] [--services=] +Start the Floci AWS emulator container + --container= Floci container name (default: floci) + --detach Return immediately without waiting for readiness + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --image= Image reference to use (default: floci/floci:latest) + --json Shorthand for --output json + --namespace= Docker resource namespace for the containers this instance launches + (default: derived from --container; none for the default 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= Host directory for persistent state + --port= Host port to bind (default: 4566) + --profile= Config profile from ~/.floci/profiles/ + --pull=always|missing|never + Image pull policy: always, missing, never + -q, --quiet Suppress non-error output + --services= Comma-separated list of services to enable + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-status.txt b/docs/help/floci-status.txt new file mode 100644 index 0000000..7e25e33 --- /dev/null +++ b/docs/help/floci-status.txt @@ -0,0 +1,16 @@ +Usage: floci status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show Floci AWS container and server status + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-stop.txt b/docs/help/floci-stop.txt new file mode 100644 index 0000000..6a87cfe --- /dev/null +++ b/docs/help/floci-stop.txt @@ -0,0 +1,19 @@ +Usage: floci stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--timeout=] +Stop the Floci AWS container + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -r, --remove Remove the container after stopping + --timeout= Seconds to wait before forcefully killing; -1 waits indefinitely + (default: 10) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-update.txt b/docs/help/floci-update.txt new file mode 100644 index 0000000..1b2c1fd --- /dev/null +++ b/docs/help/floci-update.txt @@ -0,0 +1,6 @@ +Usage: floci update [-h] [--check] [--version=] +Update floci to the latest release + --check Only report whether an update is available (exit 0: up to date, 1: + update available, 2: the check failed) + -h, --help Show this help message and exit + --version= Target version (default: latest release) diff --git a/docs/help/floci-version.txt b/docs/help/floci-version.txt new file mode 100644 index 0000000..fb1eeec --- /dev/null +++ b/docs/help/floci-version.txt @@ -0,0 +1,16 @@ +Usage: floci version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] +Show CLI version, connected Floci AWS server version, and image digest + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci-wait.txt b/docs/help/floci-wait.txt new file mode 100644 index 0000000..5d86aa2 --- /dev/null +++ b/docs/help/floci-wait.txt @@ -0,0 +1,19 @@ +Usage: floci wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=] + [--endpoint=] [-o=text|json|yaml] [--profile=] [--service=] + [--timeout=] +Wait until Floci AWS is ready to accept requests + --container= Floci container name (default: floci) + --endpoint= Floci server endpoint URL (default: http://localhost:4566) + -h, --help Show this help message and exit. + --json Shorthand for --output json + --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 + --profile= Config profile from ~/.floci/profiles/ + -q, --quiet Suppress non-error output + --service= Wait until a specific service is enabled + --timeout= Maximum time to wait (e.g. 30s, 2m) + -v, --verbose Debug logging to stderr + -V, --version Print version information and exit. diff --git a/docs/help/floci.txt b/docs/help/floci.txt new file mode 100644 index 0000000..0d797dd --- /dev/null +++ b/docs/help/floci.txt @@ -0,0 +1,66 @@ +Usage: floci [-hV] [COMMAND] +Manage your local Floci emulators + + floci start — launch the container (default: aws) + floci stop — stop the container + floci status — show health and version + floci doctor — diagnose environment issues + floci env — print environment variables + floci aws — explicit AWS emulator commands + floci az — Azure emulator commands + floci gcp — GCP emulator commands + floci oci — OCI emulator commands + floci update — Update the CLI to the latest release + -h, --help Show this help message and exit. + -V, --version Print version information and exit. +Commands: + start Start the Floci AWS emulator container + stop Stop the Floci AWS container + restart Stop and restart the Floci AWS container + status Show Floci AWS container and server status + logs Fetch logs from the Floci AWS container + wait Wait until Floci AWS is ready to accept requests + version Show CLI version, connected Floci AWS server version, and image digest + services List services available in the running Floci AWS instance + reset Delete every resource in the running Floci AWS instance, keeping it running + doctor Run environment diagnostics for Floci AWS + env Print AWS environment variables to connect to Floci AWS + config Manage Floci configuration + snapshot Manage Floci AWS state snapshots + completion Generate shell completion scripts + aws Manage the Floci AWS emulator + + floci aws start — launch the container + floci aws stop — stop the container + floci aws status — show health and version + floci aws doctor — diagnose environment issues + floci aws env — print AWS environment variables + + az Manage the Floci Azure emulator (floci-az) + + floci az start — launch the container + floci az stop — stop the container + floci az status — show health and version + floci az doctor — diagnose environment issues + floci az env — print Azure environment variables + floci az setup — point the az CLI at the emulator (cert, cloud, login) + + gcp Manage the Floci GCP emulator (floci-gcp) + + floci gcp start — launch the container + floci gcp stop — stop the container + floci gcp status — show health and version + floci gcp doctor — diagnose environment issues + floci gcp env — print GCP environment variables + + oci Manage the Floci OCI emulator (floci-oci) + + floci oci start — launch the container + floci oci stop — stop the container + floci oci status — show health and version + floci oci doctor — diagnose environment issues + floci oci env — print OCI environment variables + floci oci setup — create a local OCI CLI profile (key + ~/.oci/config) + + help Display help information about the specified command. + update Update floci to the latest release diff --git a/src/test/java/io/floci/cli/unit/ExitCodeTableTest.java b/src/test/java/io/floci/cli/unit/ExitCodeTableTest.java new file mode 100644 index 0000000..8fd74a6 --- /dev/null +++ b/src/test/java/io/floci/cli/unit/ExitCodeTableTest.java @@ -0,0 +1,83 @@ +package io.floci.cli.unit; + +import io.floci.cli.FlociCli; +import io.floci.cli.config.ProfileStore; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.CsvSource; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.nio.file.Files; +import java.nio.file.Path; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +/** + * BL-067: the rows of README's "Exit Codes" section that need neither Docker nor a server. They + * are the ones a reader is most likely to get wrong: which rejected values are 2 and which are 1. + */ +class ExitCodeTableTest { + + @TempDir + Path tempDir; + + @ParameterizedTest + @CsvSource({ + // The command line could not be used. + "2, status --no-such-flag", + "2, no-such-command", + "2, status --profile no-such-profile", + "2, start --port abc", + "2, wait --timeout abc", + "2, wait --timeout 0s", + "2, start --port 70000", + "2, start --pull sometimes", + "2, doctor --check no.such.check", + "2, env --shell tcsh", + "2, completion fish", + "2, status --json --no-such-flag", + "2, config profile show ../escape", + // Accepted by the command line, rejected by the command with 1. + "1, update --version not-a-version", + "1, config profile create demo --port 0", + "1, config profile show no-such-profile", + "1, config profile edit no-such-profile", + "1, config validate -f no-such-compose-file.yml", + // Nothing wrong. + "0, --version", + "0, config profile list"}) + void theDocumentedCode(int expected, String commandLine) { + PrintStream out = System.out; + PrintStream err = System.err; + // Commands that manage profiles build their own store under the home directory. It is + // pointed at the temporary one, so the developer's saved profiles cannot change a result. + String home = System.getProperty("user.home"); + System.setProperty("user.home", tempDir.toString()); + System.setOut(new PrintStream(new ByteArrayOutputStream())); + ByteArrayOutputStream errBuf = new ByteArrayOutputStream(); + System.setErr(new PrintStream(errBuf)); + int exit; + try { + ProfileStore store = new ProfileStore(tempDir.resolve(".floci").resolve("profiles")); + exit = FlociCli.buildCommandLine(store).execute(commandLine.split(" ")); + } finally { + System.setOut(out); + System.setErr(err); + System.setProperty("user.home", home); + } + + assertEquals(expected, exit, commandLine + "\n" + errBuf); + } + + /** The guard on the test itself: a profile saved in the real home directory is not visible here. */ + @Test + void profileCommandsSeeOnlyTheTemporaryHome() throws Exception { + Path profiles = Files.createDirectories(tempDir.resolve(".floci").resolve("profiles")); + Files.writeString(profiles.resolve("only-here.yaml"), "port: 4599\n"); + + theDocumentedCode(0, "config profile show only-here"); + theDocumentedCode(1, "config profile show not-here"); + } +} diff --git a/src/test/java/io/floci/cli/unit/HelpSnapshotTest.java b/src/test/java/io/floci/cli/unit/HelpSnapshotTest.java new file mode 100644 index 0000000..2b30105 --- /dev/null +++ b/src/test/java/io/floci/cli/unit/HelpSnapshotTest.java @@ -0,0 +1,116 @@ +package io.floci.cli.unit; + +import io.floci.cli.FlociCli; +import io.floci.cli.config.ProfileStore; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; +import picocli.CommandLine; + +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.TreeMap; +import java.util.stream.Stream; + +import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assumptions.assumeTrue; + +/** + * BL-069: {@code docs/help/} holds the {@code --help} text of every command in every product + * tree, and this test fails when the committed files and the code drift apart. A change to a + * command, a flag or a description therefore shows up in review as a change to these files. + * + *

To regenerate them after an intended change: + * {@code mvn test -Dtest=HelpSnapshotTest -Dfloci.help.update=true} + */ +class HelpSnapshotTest { + + private static final Path DIR = Path.of("docs", "help"); + private static final String UPDATE = "floci.help.update"; + private static final String HOW_TO_UPDATE = + "Run 'mvn test -Dtest=HelpSnapshotTest -D" + UPDATE + "=true' and commit docs/help."; + + @TempDir + Path tempDir; + + /** File name to help text, for the root command and everything under it. */ + private Map generate() { + CommandLine root = FlociCli.buildCommandLine(new ProfileStore(tempDir)); + // Fixed, so the files do not depend on the terminal the test happens to run in. + root.setUsageHelpWidth(100); + Map pages = new TreeMap<>(); + collect(root, pages); + return pages; + } + + private static void collect(CommandLine command, Map pages) { + String name = command.getCommandSpec().qualifiedName("-") + ".txt"; + String text = command.getUsageMessage(CommandLine.Help.Ansi.OFF).replace("\r\n", "\n"); + pages.put(name, text); + // 'help' is picocli's own subcommand: the same text in every group, and not ours to pin. + command.getSubcommands().forEach((subName, sub) -> { + if (!"help".equals(subName)) collect(sub, pages); + }); + } + + @Test + void theCommittedHelpTextMatchesTheCommands() throws IOException { + // The defaults shown in help come from FLOCI_* variables when they are set. + assumeTrue(System.getenv().keySet().stream().noneMatch(key -> key.startsWith("FLOCI_")), + "FLOCI_* variables change the defaults that help prints"); + Map pages = generate(); + + if (Boolean.getBoolean(UPDATE)) { + write(pages); + return; + } + + List drift = new ArrayList<>(); + for (Map.Entry page : pages.entrySet()) { + Path file = DIR.resolve(page.getKey()); + if (!Files.isRegularFile(file)) { + drift.add("missing: " + file); + } else if (!Files.readString(file, StandardCharsets.UTF_8).replace("\r\n", "\n").equals(page.getValue())) { + drift.add("out of date: " + file); + } + } + for (String name : committed()) { + if (!pages.containsKey(name)) drift.add("no such command any more: " + DIR.resolve(name)); + } + assertEquals(List.of(), drift, "docs/help does not match the commands. " + HOW_TO_UPDATE); + } + + /** Every tree is there: a product group that lost a command would otherwise go unnoticed. */ + @Test + void everyProductTreeHasItsPages() { + Map pages = generate(); + + for (String page : List.of("floci.txt", "floci-start.txt", "floci-aws-start.txt", "floci-gcp-start.txt", + "floci-az-start.txt", "floci-oci-start.txt", "floci-config-profile.txt", "floci-update.txt")) { + assertTrue(pages.containsKey(page), page + " in " + pages.keySet()); + } + assertTrue(pages.get("floci-gcp-start.txt").startsWith("Usage: floci gcp start"), pages.get("floci-gcp-start.txt")); + assertTrue(pages.keySet().stream().noneMatch(name -> name.endsWith("-help.txt"))); + } + + private static void write(Map pages) throws IOException { + Files.createDirectories(DIR); + for (String stale : committed()) { + if (!pages.containsKey(stale)) Files.delete(DIR.resolve(stale)); + } + for (Map.Entry page : pages.entrySet()) { + Files.writeString(DIR.resolve(page.getKey()), page.getValue(), StandardCharsets.UTF_8); + } + } + + private static List committed() throws IOException { + if (!Files.isDirectory(DIR)) return List.of(); + try (Stream files = Files.list(DIR)) { + return files.map(p -> p.getFileName().toString()).filter(n -> n.endsWith(".txt")).sorted().toList(); + } + } +}