Skip to content

fix: create default config when missing#68

Open
iamguyi897 wants to merge 1 commit into
ApexOpsStudio:mainfrom
iamguyi897:fix-missing-config-crash
Open

fix: create default config when missing#68
iamguyi897 wants to merge 1 commit into
ApexOpsStudio:mainfrom
iamguyi897:fix-missing-config-crash

Conversation

@iamguyi897
Copy link
Copy Markdown

Summary

  • Add a default task-cli configuration used when the user config file is missing
  • Create ~/.config/task-cli/config.yaml on first load instead of raising FileNotFoundError
  • Add regression coverage for the missing-config scenario
  • Update README configuration docs to describe automatic default creation

Test Plan

  • uvx --from pytest pytest -q

Fixes #2

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