A tasks manager for those who like work from shell.
Requirements:
- Python >= 3.11
How install it:
pip install dailytasks
-
Before update this package execute
dailytasks exportcommand to save all your data.1.1. Provide a path to the command (with
-poption) is required for it execution, this path is where your data will be saved.1.2. This command will create a json file named 'exported_tasks' in the path provided path.
-
After update execute
dailytasks importcommand to restore all your data.2.1. Provide the path provided before (with
-poption) and all your data will be restore.This is because when you update the CLI, data folder (data_files) is overwritten and all your data deleted.
Execute dailytasks import --help to get information about import cmd options.
import options:
-
Normal:
dailytasks import -p C:\where\you\export\tasks\are -
Personalized (A better name is welcome):
dailytasks import -a -f your_json_file_name -d key_that_contains_the_descriptions -p C:\where\you\json\file\is-a: Activate this option.-f: To pass name of your json file.-d: The text you want as description should be in a object, in a key-value pair, to this option you will pass key of that key-value pair.-p: To pass path where you json file is.
Running tests locally:
-
Clone this repository.
-
cd into your clone.
-
Use
pytest testto run all tests, usepytest test/test_file_nameto run individual tests. -
If you get errors around missing daily_task module, reinstall package using
pip install dailytasks.
Read Contributing file and make whatever question in Discussions.
Krishnag09 for contributing closing #2 and #8 issues.