From 715e0988dcb510df24d8d8bcee0a3ccc50c3b45e Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Fri, 22 May 2026 10:34:53 +0200 Subject: [PATCH] refactor(cli): replace positional input argument with --input / -i flag --- .coverage | Bin 53248 -> 53248 bytes AGENTS.md | 12 ++++++------ src/timesheets/cli.py | 5 +++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.coverage b/.coverage index addd3c52561f65f5f222abf75ab137ed6f313f69..b76cff1a3599a955c473ac05b7730def79a36333 100644 GIT binary patch delta 297 zcmZozz}&Eac>{}s5Idg_1OI;h7JfH=R=yK_U3@;91qICbm~7Z5_xKreX5|;;WajA= zRBrC_t77D0=ksOYKfvG0=ewCFz@Be%cbo|qTnYQ;?zl=tA$I-(DpaLo8dw>4%*WQiiV+Qi%*qL{}s02^Ny1OI;h7JfH=R=yK_U7H03%J`UU*e3h=8E@Y2=gP>z#@Efj ze}KPrGhcu`-^2wDlYQe%Ht&yfRTN<3-@w5Clm89>J^mB?d-*p2_0Hi>;bvoDxd argparse.ArgumentParser: source = parser.add_mutually_exclusive_group(required=True) source.add_argument( - "input", - nargs="?", + "--input", + "-i", help="Path to the markdown file containing the timesheet table, or '-' to read from stdin.", + default=None, ) source.add_argument( "--joplin",