Documentation
¶
Overview ¶
Package cli holds the LadyM command-line interface (cobra-based).
remote.go implements the CLI's --server mode: instead of opening a local engine, the data commands call a `ladym serve --http` data-plane (the api package) over HTTP. The HTTP half is a thin shell over the Go SDK (client/golang) — this file keeps only the CLI-specific parts: flag/env credential resolution, per-command timeouts, and translation of SDK errors into the CLI's historical single-line messages. Stdout stays byte-identical to the local path — the commands share the same print helpers; only the "fetch the result" half differs.
user.go implements the `ladym user` subcommand group: local management of the users table backing the HTTP data-plane's Basic auth. The commands talk to the local store directly (same engine path as the other data commands) — user management never goes through HTTP, so it works before auth is bootstrapped.
Passwords are never accepted as command-line arguments or printed/logged: they come from an interactive two-prompt read (TTY only) or from --password-env VAR indirection, and only the bcrypt hash is persisted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.