doc: Update pyproject and cli descriptions
Reflects forge project description.
This commit is contained in:
parent
887c4cc4db
commit
790b5b4bad
2 changed files with 11 additions and 2 deletions
|
|
@ -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