CommandCodeAI / CommandCodeAI/command-code

Support a configurable Command Code home directory.

Offen
#671 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Keine Sprachdaten
Sterne
4k
Forks
350
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Feature Description

Command Code currently stores user-level data in ~/.commandcode with no way to change the base directory.

Add a COMMANDCODE_HOME environment variable, defaulting to ~/.commandcode, and resolve all user-level paths relative to it.

Example:

COMMANDCODE_HOME="${XDG_CONFIG_HOME}/commandcode" cmd
Use Case

Users following the XDG Base Directory Specification, using encrypted or separate storage, or managing multiple environments need control over where Command Code stores its data.

This also avoids placing application-specific directories directly under $HOME.

Additional Context

Other coding agents already provide this:

  • Codex: CODEX_HOME
  • Claude Code: CLAUDE_CONFIG_DIR
  • pi: PI_CODING_AGENT_DIR

The default ~/.commandcode location should remain unchanged for backwards compatibility. Project-local .commandcode directories should continue working as they do currently.

How important is this to you?

Blocking adoption or production use

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, den Code zu finden, der die aktuellen Pfade auf Benutzerebene für ~/.commandcode und den cmd-Einstiegspunkt auflöst. Überprüfe, dass COMMANDCODE_HOME den Standardwert überschreibt, alle Pfade auf Benutzerebene ihn verwenden, der Standardwert unverändert bleibt und lokale .commandcode-Verzeichnisse in Projekten weiterhin funktionieren.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
cli
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.