Skip to content

--state-dir flag overriding APS_HOME #5

Description

@0xLeif

Part of GOAL.md workstream A.

Per-command --state-dir for commands that touch persisted state (get, set, watch, dump, reset). Wins over APS_HOME.

Acceptance criteria

  • Flag accepted on all state-touching commands
  • Precedence: --state-dir > APS_HOME > ~/.aps
  • Invalid/unwritable path produces a clear non-zero error
  • smoke.sh exercises the override (and can then run fully isolated, see smoke cleanup issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions