Compare commits
No commits in common. "76bf3a5bc2caf90cec60f3fc10b093c3edb8dd4c" and "887c4cc4db928598b41a2d8e9eb6804ed3d8bc86" have entirely different histories.
76bf3a5bc2
...
887c4cc4db
3 changed files with 2 additions and 32 deletions
21
LICENSE
21
LICENSE
|
|
@ -1,21 +0,0 @@
|
||||||
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]
|
[project]
|
||||||
name = "topen"
|
name = "topen"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "Quickly edit notes for your taskwarrior tasks"
|
description = "Add your description here"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|
|
||||||
11
topen.py
11
topen.py
|
|
@ -28,16 +28,7 @@ TOPEN_QUIET = os.getenv("TOPEN_QUIET", False)
|
||||||
|
|
||||||
|
|
||||||
def parse_cli() -> argparse.Namespace:
|
def parse_cli() -> argparse.Namespace:
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(description="Taskwarrior note editing made easy.")
|
||||||
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(
|
_ = parser.add_argument(
|
||||||
"id", help="The id/uuid of the taskwarrior task for which we edit notes"
|
"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