Skip to content

Handle missing config file gracefully#78

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

Handle missing config file gracefully#78
letrquan wants to merge 1 commit into
ApexOpsStudio:mainfrom
letrquan:fix-missing-config-crash

Conversation

@letrquan
Copy link
Copy Markdown

Summary

  • Create a default ~/.config/task-cli/config.yaml when the config file is missing.
  • Add regression coverage for missing config creation.
  • Update configuration docs to describe the default file behavior.

Validation

  • python -m py_compile task.py test_task.py commands/add.py commands/done.py commands/list.py

Note: python -m pytest test_task.py could not be run locally because pytest is not installed in this environment.

/claim #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.

1 participant