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 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>
30 lines
1.5 KiB
Plaintext
30 lines
1.5 KiB
Plaintext
Usage: floci oci [-hV] [COMMAND]
|
|
Manage the Floci OCI emulator (floci-oci)
|
|
|
|
floci oci start — launch the container
|
|
floci oci stop — stop the container
|
|
floci oci status — show health and version
|
|
floci oci doctor — diagnose environment issues
|
|
floci oci env — print OCI environment variables
|
|
floci oci setup — create a local OCI CLI profile (key + ~/.oci/config)
|
|
|
|
-h, --help Show this help message and exit.
|
|
-V, --version Print version information and exit.
|
|
Commands:
|
|
start Start the Floci OCI emulator container
|
|
stop Stop the Floci OCI container
|
|
restart Stop and restart the Floci OCI container
|
|
status Show Floci OCI container and server status
|
|
logs Fetch logs from the Floci OCI container
|
|
wait Wait until Floci OCI is ready to accept requests
|
|
version Show CLI version, connected Floci OCI server version, and image digest
|
|
services List services available in the running Floci OCI instance
|
|
reset Delete every resource in the running Floci OCI instance, keeping it running
|
|
doctor Run environment diagnostics for Floci OCI
|
|
env Print OCI environment variables to connect to Floci OCI
|
|
setup Create a local OCI CLI profile (API key + ~/.oci/config) for the emulator
|
|
config Manage Floci OCI configuration
|
|
snapshot Manage Floci OCI state snapshots
|
|
completion Generate shell completion scripts
|
|
help Display help information about the specified command.
|