fix(cli): keep the selected instance in the commands that hints suggest (#74)

Commands printed by errors, env and doctor now carry --profile, --container and
an explicit --endpoint, so pasting one acts on the same instance. After a failed
pull, the suggested start also keeps the --port, --image, --persist, --services
and --namespace you typed.

The env load hint adds -o text after a profile, which may set output: json, and
quotes values for the shell it is for. A value containing a line break prints as a
placeholder, because the hint is a comment in the output people feed to eval.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-11-04 01:48:30 -06:00
1 parent a319e2d242
commit 882c0ea7be
25 files changed
+355 -43

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "floci",
"version": "1.0.2",
"version": "1.0.3",
"description": "Run, wire up and troubleshoot Floci, the free local emulators for AWS, GCP, Azure and OCI: floci-cli lifecycle, safe wiring of aws, gcloud, az, oci and the SDKs, docker run and Docker Compose files, several instances side by side, and lookups in the published docs.",
"author": {
"name": "Floci",