Skip to content
Apothem
CLI-Referenz

update

CLI-Referenz für den Befehl apothem update.

Installiert eine Harness-Adapterkonfiguration aus dem aktuellen geteilten Profil neu.

Übersicht

apothem update --harness NAME|all [--profile PATH] [--dry-run]
                [--project PATH]
                [--quiet|-q] [--verbose|-v]
                [--format plain|json] [--json] [--no-color]

update materialisiert die Harness-Ausgabe aus dem aktuellen geteilten Profil neu. Es verwendet dieselbe Profilvalidierung, --harness all-Auswahl, Projektgeltungsbereich-Prüfung, Dry-Run-Verhalten und JSON-Hülle wie install.

Der Alias in Verlaufsform apothem updating wird auf denselben Handler aufgelöst.

Optionen

OptionBeschreibung
--harness NAMEZu aktualisierender Harness-Adapter oder all für das registry-weite Set (erforderlich).
--profile PATHPfad zum geteilten Profil-YAML. Standard: ~/.config/apothem/profile.yaml.
--dry-runVorschau der Aktualisierung, ohne Dateien zu schreiben.
--project PATHProjektwurzel für Harnesses mit Projektgeltungsbereich. Erforderlich, wenn das ausgewählte Harness-Set Adapter mit Projektgeltungsbereich enthält.
--quiet, -qUnterdrückt informative Ausgaben; nur Fehler werden ausgegeben.
--verbose, -vGibt zusätzliche Diagnoseausgabe aus.
--format plain|jsonAusgabeformat (Standard: plain).
--jsonKurzform für --format json.
--no-colorDeaktiviert ANSI-Farbcodes in der Ausgabe.
-h, --helpZeigt die Hilfe an und beendet.

JSON-Ausgabe

{
  "status": "success",
  "command": "update",
  "action": "updated",
  "harness": "claude-code",
  "profile_path": "C:\\Users\\Example\\.config\\apothem\\profile.yaml",
  "project": null,
  "files_written": [],
  "results": [],
  "warnings": [],
  "error": null,
  "output_path": "C:\\Users\\Example\\.claude\\settings.json"
}

--dry-run gibt status: "dry_run" und files_written: [] zurück.

Beispiele

apothem update --harness claude-code
apothem update --harness claude-code --dry-run
apothem update --harness all --project . --dry-run --json
apothem Updating --harness claude-code   # continuous-form alias
apothem updating --harness claude-code   # lowercase variant

Exit-Codes

CodeBedeutung
0Adapter erfolgreich aktualisiert oder Dry-Run sauber geplant
1Erwarteter Fehler bei Validierung, Profil, Harness, Projekt oder Adapter
2Teilweise Batch-Materialisierung nach mindestens einer Schreiboperation

Siehe auch

  • apothem updating — Alias in Verlaufsform für diesen Befehl (hier dokumentiert; die CLI akzeptiert beide Formen)
  • apothem install — Erstinstallation
  • Aktualisierungsleitfaden — Aktualisierungspfade pro Installer

On this page