Compare commits
2 commits
887c4cc4db
...
76bf3a5bc2
| Author | SHA1 | Date | |
|---|---|---|---|
| 76bf3a5bc2 | |||
| 790b5b4bad |
3 changed files with 32 additions and 2 deletions
21
LICENSE
Normal file
21
LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2025 Marty Oehme
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
[project]
|
||||
name = "topen"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
description = "Quickly edit notes for your taskwarrior tasks"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
|
|
|
|||
11
topen.py
11
topen.py
|
|
@ -28,7 +28,16 @@ TOPEN_QUIET = os.getenv("TOPEN_QUIET", False)
|
|||
|
||||
|
||||
def parse_cli() -> argparse.Namespace:
|
||||
parser = argparse.ArgumentParser(description="Taskwarrior note editing made easy.")
|
||||
parser = argparse.ArgumentParser(
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
description="Taskwarrior note editing made easy.",
|
||||
epilog="""Provide a taskwarrior task id or uuid and topen creates a
|
||||
new note file for or lets you edit an existing one.
|
||||
Additionally it adds a small annotation to the task
|
||||
to let you see that there exists a note file next time
|
||||
you view the task.
|
||||
""",
|
||||
)
|
||||
_ = parser.add_argument(
|
||||
"id", help="The id/uuid of the taskwarrior task for which we edit notes"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue