mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-22 21:50:47 -05:00
docs: add an exit-code table and generated --help snapshots (#63)
* docs: add an exit-code table and generated --help snapshots README gains the exit codes scripts can rely on, per command. docs/help holds the --help text of every command in every tree, and HelpSnapshotTest fails when the files and the commands drift apart. Signed-off-by: Hector Ventura <hectorvent@gmail.com> * docs: say which rejected values exit 1 and pin the documented exit codes with a test The table promised 2 for every unusable value, but three commands report a rejected value with 1. The wording is narrowed, the three are named, and ExitCodeTableTest pins the rows that need neither Docker nor a server. Signed-off-by: Hector Ventura <hectorvent@gmail.com> * test: keep the exit-code test off the developer's saved profiles The profile commands build their own store under the home directory, so the test now runs with a temporary home. Signed-off-by: Hector Ventura <hectorvent@gmail.com> --------- Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
1 parent
de3ca7f171
commit
97eaa5e820
129 files changed
+2589
No files matched your search
@@ -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).
|
||||
|
||||
@@ -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 <unknown product>`,
|
||||
`update --version <not a release version>` and `config profile create --port <out of range>`.
|
||||
|
||||
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
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci aws completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] bash|zsh
|
||||
Generate shell completion scripts
|
||||
bash|zsh Shell type: bash or zsh
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci aws config default-product [-hqvV] [--json] [--no-color] [--no-emoji]
|
||||
[--container=<name>] [--endpoint=<url>] [-o=text|json|yaml]
|
||||
[--profile=<name>] 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=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,30 @@
|
||||
Usage: floci aws config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<image>] [--namespace=<name>]
|
||||
[-o=text|json|yaml] [--persist=<dir>] [--port=<port>]
|
||||
[--profile=<name>] [--services=<csv>] list|show|create|edit|delete
|
||||
[<name>] [COMMAND]
|
||||
Manage Floci AWS configuration profiles
|
||||
list|show|create|edit|delete
|
||||
Action: list, show, create, edit, delete
|
||||
[<name>] Profile name (required for show, create, edit, delete)
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<image> create: Docker image for this instance
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> create: Docker resource namespace for the containers this instance
|
||||
launches (default: derived from --container)
|
||||
--no-color Disable ANSI colors
|
||||
--no-emoji Plain ASCII marks instead of Unicode ones (the default when output is
|
||||
piped)
|
||||
-o, --output=text|json|yaml
|
||||
Output format: text, json, yaml
|
||||
--persist=<dir> create: host directory that keeps this instance's state
|
||||
--port=<port> create: host port for this instance
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> create: comma-separated services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
Commands:
|
||||
help Display help information about the specified command.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci aws config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show the active Floci AWS configuration
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci aws config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-f=<path>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Validate a docker-compose.yml file for Floci AWS compatibility
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci aws doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=<name>]
|
||||
[--container=<name>] [--endpoint=<url>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Run environment diagnostics for Floci AWS
|
||||
--check=<name> Run only a specific check by name
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,20 @@
|
||||
Usage: floci aws env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--host=<host>] [-o=text|json|yaml] [--profile=<name>]
|
||||
[--region=<region>] [--shell=<shell>]
|
||||
Print AWS environment variables to connect to Floci AWS
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--host=<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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--region=<region> AWS region (default: us-east-1)
|
||||
--shell=<shell> Shell format: bash, zsh, sh, fish, powershell (default: bash)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,22 @@
|
||||
Usage: floci aws logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--since=<duration>] [--tail=<n>]
|
||||
Fetch logs from the Floci AWS container
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Filter to a specific service (not yet supported; requires server-side
|
||||
filtering)
|
||||
--since=<duration> Show logs since duration (e.g. 5m, 1h) or timestamp
|
||||
--tail=<n> Number of lines from the end (0 = all)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci aws reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Delete every resource in the running Floci AWS instance, keeping it running
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> 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
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci aws restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Stop and restart the Floci AWS container
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci aws services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
List services available in the running Floci AWS instance
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci aws snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] <name>
|
||||
Delete a Floci AWS snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci aws snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [-o=text|json|yaml]
|
||||
[--profile=<name>] <name>
|
||||
Export a Floci AWS snapshot to a tarball file
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci aws snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [--name=<name>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Import a Floci AWS snapshot from a tarball file
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-f, --file=<path> Source tarball path
|
||||
-h, --help Show this help message and exit.
|
||||
--json Shorthand for --output json
|
||||
--name=<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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci aws snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
List available Floci AWS snapshots
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci aws snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] <name>
|
||||
Load a Floci AWS snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci aws snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-m=<text>] [-o=text|json|yaml]
|
||||
[--profile=<name>] <name>
|
||||
Save the current Floci AWS state as a named snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--json Shorthand for --output json
|
||||
-m, --message=<text> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,27 @@
|
||||
Usage: floci aws start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<ref>] [--namespace=<name>] [-o=text|json|yaml]
|
||||
[--persist=<dir>] [--port=<port>] [--profile=<name>]
|
||||
[--pull=always|missing|never] [--services=<csv>]
|
||||
Start the Floci AWS emulator container
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--detach Return immediately without waiting for readiness
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<ref> Image reference to use (default: floci/floci:latest)
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> 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=<dir> Host directory for persistent state
|
||||
--port=<port> Host port to bind (default: 4566)
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
--pull=always|missing|never
|
||||
Image pull policy: always, missing, never
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> Comma-separated list of services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci aws status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show Floci AWS container and server status
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,20 @@
|
||||
Usage: floci aws stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
[--timeout=<seconds>]
|
||||
Stop the Floci AWS container
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-r, --remove Remove the container after stopping
|
||||
--timeout=<seconds> Seconds to wait before forcefully killing; -1 waits indefinitely
|
||||
(default: 10)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci aws version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show CLI version, connected Floci AWS server version, and image digest
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci aws wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--timeout=<duration>]
|
||||
Wait until Floci AWS is ready to accept requests
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Wait until a specific service is enabled
|
||||
--timeout=<duration> Maximum time to wait (e.g. 30s, 2m)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci az completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] bash|zsh
|
||||
Generate shell completion scripts
|
||||
bash|zsh Shell type: bash or zsh
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,30 @@
|
||||
Usage: floci az config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<image>] [--namespace=<name>]
|
||||
[-o=text|json|yaml] [--persist=<dir>] [--port=<port>]
|
||||
[--profile=<name>] [--services=<csv>] list|show|create|edit|delete
|
||||
[<name>] [COMMAND]
|
||||
Manage Floci Azure configuration profiles
|
||||
list|show|create|edit|delete
|
||||
Action: list, show, create, edit, delete
|
||||
[<name>] Profile name (required for show, create, edit, delete)
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4577)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<image> create: Docker image for this instance
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> create: Docker resource namespace for the containers this instance
|
||||
launches (default: derived from --container)
|
||||
--no-color Disable ANSI colors
|
||||
--no-emoji Plain ASCII marks instead of Unicode ones (the default when output is
|
||||
piped)
|
||||
-o, --output=text|json|yaml
|
||||
Output format: text, json, yaml
|
||||
--persist=<dir> create: host directory that keeps this instance's state
|
||||
--port=<port> create: host port for this instance
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> create: comma-separated services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
Commands:
|
||||
help Display help information about the specified command.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci az config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show the active Floci Azure configuration
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci az config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-f=<path>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Validate a docker-compose.yml file for Floci Azure compatibility
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4577)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci az doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=<name>]
|
||||
[--container=<name>] [--endpoint=<url>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Run environment diagnostics for Floci Azure
|
||||
--check=<name> Run only a specific check by name
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,25 @@
|
||||
Usage: floci az env [-hqvV] [--json] [--no-color] [--no-emoji] [--account=<name>]
|
||||
[--container=<name>] [--endpoint=<url>] [--format=connection-string|sdk-vars]
|
||||
[--host=<host>] [-o=text|json|yaml] [--profile=<name>] [--service=<csv>]
|
||||
[--shell=<shell>]
|
||||
Print Azure environment variables to connect to Floci Azure
|
||||
--account=<name> Storage account name (default: devstoreaccount1)
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<csv> Comma-separated services for sdk-vars mode: blob,queue,table,functions,
|
||||
app-config,key-vault
|
||||
--shell=<shell> Shell format: bash, zsh, sh, fish, powershell (default: bash)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,22 @@
|
||||
Usage: floci az logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--since=<duration>] [--tail=<n>]
|
||||
Fetch logs from the Floci Azure container
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Filter to a specific service (not yet supported; requires server-side
|
||||
filtering)
|
||||
--since=<duration> Show logs since duration (e.g. 5m, 1h) or timestamp
|
||||
--tail=<n> Number of lines from the end (0 = all)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci az reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Delete every resource in the running Floci Azure instance, keeping it running
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> 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
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci az restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Stop and restart the Floci Azure container
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci az services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
List services available in the running Floci Azure instance
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,29 @@
|
||||
Usage: floci az setup [-hqvV] [--global] [--json] [--no-color] [--no-emoji] [--reset]
|
||||
[--client-id=<id>] [--client-secret=<secret>] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
[--subscription=<id>] [--tenant=<id>]
|
||||
Point the az CLI at Floci Azure: trust its certificate, register the cloud and log in
|
||||
--client-id=<id> Service principal client id (default:
|
||||
00000000-0000-0000-0000-000000000003)
|
||||
--client-secret=<secret>
|
||||
Service principal secret; floci-az does not check it (default:
|
||||
fake-secret)
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> 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=<id> Subscription to select (default: 00000000-0000-0000-0000-000000000001)
|
||||
--tenant=<id> 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.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci az snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] <name>
|
||||
Delete a Floci Azure snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci az snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [-o=text|json|yaml] [--profile=<name>]
|
||||
<name>
|
||||
Export a Floci Azure snapshot to a tarball file
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4577)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci az snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [--name=<name>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Import a Floci Azure snapshot from a tarball file
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4577)
|
||||
-f, --file=<path> Source tarball path
|
||||
-h, --help Show this help message and exit.
|
||||
--json Shorthand for --output json
|
||||
--name=<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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci az snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
List available Floci Azure snapshots
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci az snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] <name>
|
||||
Load a Floci Azure snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci az snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-m=<text>] [-o=text|json|yaml] [--profile=<name>]
|
||||
<name>
|
||||
Save the current Floci Azure state as a named snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4577)
|
||||
-h, --help Show this help message and exit.
|
||||
--json Shorthand for --output json
|
||||
-m, --message=<text> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,27 @@
|
||||
Usage: floci az start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<ref>] [--namespace=<name>] [-o=text|json|yaml]
|
||||
[--persist=<dir>] [--port=<port>] [--profile=<name>]
|
||||
[--pull=always|missing|never] [--services=<csv>]
|
||||
Start the Floci Azure emulator container
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--detach Return immediately without waiting for readiness
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4577)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<ref> Image reference to use (default: floci/floci-az:latest)
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> 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=<dir> Host directory for persistent state
|
||||
--port=<port> Host port to bind (default: 4577)
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
--pull=always|missing|never
|
||||
Image pull policy: always, missing, never
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> Comma-separated list of services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci az status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show Floci Azure container and server status
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci az stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--timeout=<seconds>]
|
||||
Stop the Floci Azure container
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-r, --remove Remove the container after stopping
|
||||
--timeout=<seconds> Seconds to wait before forcefully killing; -1 waits indefinitely
|
||||
(default: 10)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci az version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show CLI version, connected Floci Azure server version, and image digest
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci az wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--timeout=<duration>]
|
||||
Wait until Floci Azure is ready to accept requests
|
||||
--container=<name> Floci container name (default: floci-az)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Wait until a specific service is enabled
|
||||
--timeout=<duration> Maximum time to wait (e.g. 30s, 2m)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] bash|zsh
|
||||
Generate shell completion scripts
|
||||
bash|zsh Shell type: bash or zsh
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci config default-product [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
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=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,30 @@
|
||||
Usage: floci config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<image>] [--namespace=<name>]
|
||||
[-o=text|json|yaml] [--persist=<dir>] [--port=<port>]
|
||||
[--profile=<name>] [--services=<csv>] list|show|create|edit|delete
|
||||
[<name>] [COMMAND]
|
||||
Manage Floci AWS configuration profiles
|
||||
list|show|create|edit|delete
|
||||
Action: list, show, create, edit, delete
|
||||
[<name>] Profile name (required for show, create, edit, delete)
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<image> create: Docker image for this instance
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> create: Docker resource namespace for the containers this instance
|
||||
launches (default: derived from --container)
|
||||
--no-color Disable ANSI colors
|
||||
--no-emoji Plain ASCII marks instead of Unicode ones (the default when output is
|
||||
piped)
|
||||
-o, --output=text|json|yaml
|
||||
Output format: text, json, yaml
|
||||
--persist=<dir> create: host directory that keeps this instance's state
|
||||
--port=<port> create: host port for this instance
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> create: comma-separated services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
Commands:
|
||||
help Display help information about the specified command.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show the active Floci AWS configuration
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-f=<path>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Validate a docker-compose.yml file for Floci AWS compatibility
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=<name>]
|
||||
[--container=<name>] [--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Run environment diagnostics for Floci AWS
|
||||
--check=<name> Run only a specific check by name
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,20 @@
|
||||
Usage: floci env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>] [--endpoint=<url>]
|
||||
[--host=<host>] [-o=text|json|yaml] [--profile=<name>] [--region=<region>]
|
||||
[--shell=<shell>]
|
||||
Print AWS environment variables to connect to Floci AWS
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--host=<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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--region=<region> AWS region (default: us-east-1)
|
||||
--shell=<shell> Shell format: bash, zsh, sh, fish, powershell (default: bash)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci gcp completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] bash|zsh
|
||||
Generate shell completion scripts
|
||||
bash|zsh Shell type: bash or zsh
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,30 @@
|
||||
Usage: floci gcp config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<image>] [--namespace=<name>]
|
||||
[-o=text|json|yaml] [--persist=<dir>] [--port=<port>]
|
||||
[--profile=<name>] [--services=<csv>] list|show|create|edit|delete
|
||||
[<name>] [COMMAND]
|
||||
Manage Floci GCP configuration profiles
|
||||
list|show|create|edit|delete
|
||||
Action: list, show, create, edit, delete
|
||||
[<name>] Profile name (required for show, create, edit, delete)
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4588)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<image> create: Docker image for this instance
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> create: Docker resource namespace for the containers this instance
|
||||
launches (default: derived from --container)
|
||||
--no-color Disable ANSI colors
|
||||
--no-emoji Plain ASCII marks instead of Unicode ones (the default when output is
|
||||
piped)
|
||||
-o, --output=text|json|yaml
|
||||
Output format: text, json, yaml
|
||||
--persist=<dir> create: host directory that keeps this instance's state
|
||||
--port=<port> create: host port for this instance
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> create: comma-separated services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
Commands:
|
||||
help Display help information about the specified command.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci gcp config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show the active Floci GCP configuration
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci gcp config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-f=<path>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Validate a docker-compose.yml file for Floci GCP compatibility
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4588)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci gcp doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=<name>]
|
||||
[--container=<name>] [--endpoint=<url>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Run environment diagnostics for Floci GCP
|
||||
--check=<name> Run only a specific check by name
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,20 @@
|
||||
Usage: floci gcp env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<csv>]
|
||||
[--shell=<shell>]
|
||||
Print GCP environment variables to connect to Floci GCP
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<csv> Comma-separated services: gcs,pubsub,firestore,datastore,secretmanager,
|
||||
iam
|
||||
--shell=<shell> Shell format: bash, zsh, sh, fish, powershell (default: bash)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,22 @@
|
||||
Usage: floci gcp logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--since=<duration>] [--tail=<n>]
|
||||
Fetch logs from the Floci GCP container
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Filter to a specific service (not yet supported; requires server-side
|
||||
filtering)
|
||||
--since=<duration> Show logs since duration (e.g. 5m, 1h) or timestamp
|
||||
--tail=<n> Number of lines from the end (0 = all)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci gcp reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Delete every resource in the running Floci GCP instance, keeping it running
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> 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
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci gcp restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Stop and restart the Floci GCP container
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci gcp services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
List services available in the running Floci GCP instance
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci gcp snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] <name>
|
||||
Delete a Floci GCP snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci gcp snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [-o=text|json|yaml]
|
||||
[--profile=<name>] <name>
|
||||
Export a Floci GCP snapshot to a tarball file
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4588)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci gcp snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [--name=<name>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Import a Floci GCP snapshot from a tarball file
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4588)
|
||||
-f, --file=<path> Source tarball path
|
||||
-h, --help Show this help message and exit.
|
||||
--json Shorthand for --output json
|
||||
--name=<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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci gcp snapshot list [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
List available Floci GCP snapshots
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci gcp snapshot load [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] <name>
|
||||
Load a Floci GCP snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci gcp snapshot save [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-m=<text>] [-o=text|json|yaml]
|
||||
[--profile=<name>] <name>
|
||||
Save the current Floci GCP state as a named snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4588)
|
||||
-h, --help Show this help message and exit.
|
||||
--json Shorthand for --output json
|
||||
-m, --message=<text> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,27 @@
|
||||
Usage: floci gcp start [-hqvV] [--detach] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<ref>] [--namespace=<name>] [-o=text|json|yaml]
|
||||
[--persist=<dir>] [--port=<port>] [--profile=<name>]
|
||||
[--pull=always|missing|never] [--services=<csv>]
|
||||
Start the Floci GCP emulator container
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--detach Return immediately without waiting for readiness
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4588)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<ref> Image reference to use (default: floci/floci-gcp:latest)
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> 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=<dir> Host directory for persistent state
|
||||
--port=<port> Host port to bind (default: 4588)
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
--pull=always|missing|never
|
||||
Image pull policy: always, missing, never
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> Comma-separated list of services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci gcp status [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show Floci GCP container and server status
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,20 @@
|
||||
Usage: floci gcp stop [-hqrvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
[--timeout=<seconds>]
|
||||
Stop the Floci GCP container
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-r, --remove Remove the container after stopping
|
||||
--timeout=<seconds> Seconds to wait before forcefully killing; -1 waits indefinitely
|
||||
(default: 10)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci gcp version [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show CLI version, connected Floci GCP server version, and image digest
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci gcp wait [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--timeout=<duration>]
|
||||
Wait until Floci GCP is ready to accept requests
|
||||
--container=<name> Floci container name (default: floci-gcp)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Wait until a specific service is enabled
|
||||
--timeout=<duration> Maximum time to wait (e.g. 30s, 2m)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,22 @@
|
||||
Usage: floci logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--since=<duration>] [--tail=<n>]
|
||||
Fetch logs from the Floci AWS container
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Filter to a specific service (not yet supported; requires server-side
|
||||
filtering)
|
||||
--since=<duration> Show logs since duration (e.g. 5m, 1h) or timestamp
|
||||
--tail=<n> Number of lines from the end (0 = all)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci oci completion [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] bash|zsh
|
||||
Generate shell completion scripts
|
||||
bash|zsh Shell type: bash or zsh
|
||||
--container=<name> Floci container name (default: floci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4566)
|
||||
-h, --help Show this help message and exit.
|
||||
--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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,30 @@
|
||||
Usage: floci oci config profile [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [--image=<image>] [--namespace=<name>]
|
||||
[-o=text|json|yaml] [--persist=<dir>] [--port=<port>]
|
||||
[--profile=<name>] [--services=<csv>] list|show|create|edit|delete
|
||||
[<name>] [COMMAND]
|
||||
Manage Floci OCI configuration profiles
|
||||
list|show|create|edit|delete
|
||||
Action: list, show, create, edit, delete
|
||||
[<name>] Profile name (required for show, create, edit, delete)
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4599)
|
||||
-h, --help Show this help message and exit.
|
||||
--image=<image> create: Docker image for this instance
|
||||
--json Shorthand for --output json
|
||||
--namespace=<name> create: Docker resource namespace for the containers this instance
|
||||
launches (default: derived from --container)
|
||||
--no-color Disable ANSI colors
|
||||
--no-emoji Plain ASCII marks instead of Unicode ones (the default when output is
|
||||
piped)
|
||||
-o, --output=text|json|yaml
|
||||
Output format: text, json, yaml
|
||||
--persist=<dir> create: host directory that keeps this instance's state
|
||||
--port=<port> create: host port for this instance
|
||||
--profile=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--services=<csv> create: comma-separated services to enable
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
Commands:
|
||||
help Display help information about the specified command.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci oci config show [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Show the active Floci OCI configuration
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci oci config validate [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-f=<path>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Validate a docker-compose.yml file for Floci OCI compatibility
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4599)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,18 @@
|
||||
Usage: floci oci doctor [-hqvV] [--json] [--no-color] [--no-emoji] [--check=<name>]
|
||||
[--container=<name>] [--endpoint=<url>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Run environment diagnostics for Floci OCI
|
||||
--check=<name> Run only a specific check by name
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci oci env [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--shell=<shell>]
|
||||
Print OCI environment variables to connect to Floci OCI
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--shell=<shell> Shell format: bash, zsh, sh, fish, powershell (default: bash)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,22 @@
|
||||
Usage: floci oci logs [-fhqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] [--service=<name>]
|
||||
[--since=<duration>] [--tail=<n>]
|
||||
Fetch logs from the Floci OCI container
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
--service=<name> Filter to a specific service (not yet supported; requires server-side
|
||||
filtering)
|
||||
--since=<duration> Show logs since duration (e.g. 5m, 1h) or timestamp
|
||||
--tail=<n> Number of lines from the end (0 = all)
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci oci reset [-hqvVy] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Delete every resource in the running Floci OCI instance, keeping it running
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> 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
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci oci restart [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
Stop and restart the Floci OCI container
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,16 @@
|
||||
Usage: floci oci services [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
List services available in the running Floci OCI instance
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci oci setup [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>]
|
||||
[--profile-name=<name>]
|
||||
Create a local OCI CLI profile (API key + ~/.oci/config) for the emulator
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
--profile-name=<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.
|
||||
@@ -0,0 +1,17 @@
|
||||
Usage: floci oci snapshot delete [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] [-o=text|json|yaml] [--profile=<name>] <name>
|
||||
Delete a Floci OCI snapshot
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci oci snapshot export [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [-o=text|json|yaml]
|
||||
[--profile=<name>] <name>
|
||||
Export a Floci OCI snapshot to a tarball file
|
||||
<name> Snapshot name
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4599)
|
||||
-f, --file=<path> 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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
@@ -0,0 +1,19 @@
|
||||
Usage: floci oci snapshot import [-hqvV] [--json] [--no-color] [--no-emoji] [--container=<name>]
|
||||
[--endpoint=<url>] -f=<path> [--name=<name>] [-o=text|json|yaml]
|
||||
[--profile=<name>]
|
||||
Import a Floci OCI snapshot from a tarball file
|
||||
--container=<name> Floci container name (default: floci-oci)
|
||||
--endpoint=<url> Floci server endpoint URL (default: http://localhost:4599)
|
||||
-f, --file=<path> Source tarball path
|
||||
-h, --help Show this help message and exit.
|
||||
--json Shorthand for --output json
|
||||
--name=<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=<name> Config profile from ~/.floci/profiles/
|
||||
-q, --quiet Suppress non-error output
|
||||
-v, --verbose Debug logging to stderr
|
||||
-V, --version Print version information and exit.
|
||||
Loaded 100 of 129 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user