Skip to content

Remaining CLI commands ignore global --data-dir (same class as #854/#897) #908

Description

@Dumbris

Follow-up from #897 verification. Bare config.Load() without the global --data-dir override remains in:

doctor/auth/call/code/tools were fixed in #854, upstream was always correct, token fixed in #907. Suggested fix: apply the same 3-line loader override per command (or finally extract one shared loader), and extend TestLoadersHonorGlobalDataDirFlag with a row per command so nothing can drift again.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions