Directories
¶
| Path | Synopsis |
|---|---|
|
apierror
Package apierror renders non-2xx API responses into error messages that are actually useful for debugging.
|
Package apierror renders non-2xx API responses into error messages that are actually useful for debugging. |
|
langsync
Package langsync provides primitives to interact with the openapi HTTP API.
|
Package langsync provides primitives to interact with the openapi HTTP API. |
|
snapdb
Package snapdb provides primitives to interact with the openapi HTTP API.
|
Package snapdb provides primitives to interact with the openapi HTTP API. |
|
backup
Package backup implements the `norcube backup ...` command tree (snapdb is the backend service behind the Norcube Backup product).
|
Package backup implements the `norcube backup ...` command tree (snapdb is the backend service behind the Norcube Backup product). |
|
langsync
Package langsync implements the `norcube langsync ...` command tree.
|
Package langsync implements the `norcube langsync ...` command tree. |
|
langsync/projectcfg
Package projectcfg loads and writes the per-project Langsync config (`.langsync.json`).
|
Package projectcfg loads and writes the per-project Langsync config (`.langsync.json`). |
|
langsync/projectcfg/translations
Package translations reads and writes language files for the sync command.
|
Package translations reads and writes language files for the sync command. |
|
Package clictx carries the global per-invocation state (flags, cancellable context) attached to every cobra command, so subcommand packages can read it without importing the root cli package and creating an import cycle.
|
Package clictx carries the global per-invocation state (flags, cancellable context) attached to every cobra command, so subcommand packages can read it without importing the root cli package and creating an import cycle. |
|
Package clierr holds the CLI's process exit codes and the error types that select them, so scripts can branch on why a command failed.
|
Package clierr holds the CLI's process exit codes and the error types that select them, so scripts can branch on why a command failed. |
|
Package cmdutil is the one path from a command's result to stdout.
|
Package cmdutil is the one path from a command's result to stdout. |
|
Package config reads and writes the CLI's configuration file.
|
Package config reads and writes the CLI's configuration file. |
|
Package credstore holds the CLI's secrets: one item per key in the OS keyring, or one 0600 file per key when no keyring is available.
|
Package credstore holds the CLI's secrets: one item per key in the OS keyring, or one 0600 file per key when no keyring is available. |
|
Package orgs turns what the user typed for --org (an id or a slug) into an organization id the services accept.
|
Package orgs turns what the user typed for --org (an id or a slug) into an organization id the services accept. |
|
Package output renders command results in one of four user-selected formats: a human-friendly table, JSON, YAML, or tab-separated text.
|
Package output renders command results in one of four user-selected formats: a human-friendly table, JSON, YAML, or tab-separated text. |
|
Package resolve decides which profile, endpoints, organization, credentials and output format one command uses, and remembers where each value came from (for `norcube config list`).
|
Package resolve decides which profile, endpoints, organization, credentials and output format one command uses, and remembers where each value came from (for `norcube config list`). |
|
Package term decides what the CLI may do with the user's terminal: is a stream a TTY, may it carry color, may we prompt.
|
Package term decides what the CLI may do with the user's terminal: is a stream a TTY, may it carry color, may we prompt. |
|
Package transport builds the one HTTP client every part of the CLI uses: generated API clients, the auth client, the token exchange and artifact downloads.
|
Package transport builds the one HTTP client every part of the CLI uses: generated API clients, the auth client, the token exchange and artifact downloads. |
Click to show internal directories.
Click to hide internal directories.