Skip to content

Handle missing task CLI config#110

Open
NguyenTienDat-GTR wants to merge 1 commit into
ApexOpsStudio:mainfrom
NguyenTienDat-GTR:fix/missing-task-cli-config
Open

Handle missing task CLI config#110
NguyenTienDat-GTR wants to merge 1 commit into
ApexOpsStudio:mainfrom
NguyenTienDat-GTR:fix/missing-task-cli-config

Conversation

@NguyenTienDat-GTR
Copy link
Copy Markdown

Closes #2

Summary:

  • Create a default ~/.config/task-cli/config.yaml when the config file is missing.
  • Keep config loading graceful instead of raising FileNotFoundError.
  • Add pytest coverage for the missing-config path.
  • Update README configuration notes.

Verification:

  • uv run --with pytest pytest test_task.py
    • 3 passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: Crash when config file missing

1 participant