Přeskočit na obsah

Tato stránka byla automaticky přeložena z angličtiny, jediného jazyka, ve kterém se tento web píše. Číst originál.

majordomus mesh build-cache env

The sccache client configuration for the store this node selected, as a script `eval` reads: local disk first, the store second only when it is healthy now, the credential by file path only

majordomus mesh build-cache env

Použití

majordomus mesh build-cache env [OPTIONS]

Argumenty

argumenthodnotavýchozípopis
--sccache <SCCACHE> — The sccache executable to ask (a name on PATH or a path); `sccache` when unset
--node-file <NODE_FILE> — The node file that names the store this node offers or knows; `~/.config/majordomus/build-cache.json` when unset
--credentials <CREDENTIALS> — The AWS-format credential file, mode 0600, profile `mesh-build-cache`; `~/.config/mesh-build-cache/credentials` when unset
--format text | json text `text` is the script an `eval` reads; `json` is the full answer, with its reason
  • text — Řádky pro člověka
  • json — Jeden dokument JSON, deterministický

Příklady

  • The sccache client of this node, derived

    The environment the process that starts the sccache server should have: local disk first and the selected store second, only when sccache has the chain, a credential file of mode 0600 exists and the store answers now; otherwise nothing, and the comment line says which condition did not hold. The credential is a file path, never a key. `--format json` gives the whole answer.

    $ majordomus mesh build-cache env --sccache no-such-sccache

    What it asserts: exits 0; prints build cache: local-only.

    Testuje apps/majordomus-cli/tests/cli_examples.rs, který spouští příkaz nad sestaveným programem a ověřuje, co stránka uvádí.

Odkud to pochází

Deklarováno jednou v apps/majordomus-cli/src/cli.rs: clap pro strukturu, typovaná metadata v Rustu vedle něj pro příklady. Tato stránka, majordomus mesh build-cache env --help, docs/generated/cli.md a docs/generated/cli.json jsou projekce této jediné deklarace.

Celá příkazová řádka na jedné stránce: stránka příkazové řádky registru. Životní cyklus úlohy (init, start, finish, doctor, ...) patří nástroji shell, jinému programu: Příkazy a jeho specifikace.

Prohledává názvy a popisy všech stránek, které tento web publikuje.