From 5a4ed6346333cf69fb89eee7be168b08a7cb3a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abd=C3=BCssamet=20ERSOYLU?= Date: Mon, 6 Oct 2025 04:15:33 +0400 Subject: [PATCH] docs: update TODO.md with implementation notes Add implementation details for on_parse_done callbacks and positional arguments --- TODO.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TODO.md b/TODO.md index 9ff636d..98206a3 100644 --- a/TODO.md +++ b/TODO.md @@ -20,3 +20,10 @@ After handle_parse(...) ends, we can call the on_parse_done callbacks. But this 2. The on_parse_done callbacks should be called after all actions are invoked. But we should make this a toggle, so the callback only gets executed if the user explicitly wants it to be called. By default we would enable it. ## Self reminder, implement this feature. It'd be helpful. + +### Update: 6 Oct. 2025 +We now have storable arguments. Now we need to implement the on_parse_done callbacks, to achieve this feature. + +# TODO 2: Positional arguments +Positional arguments are arguments that are not prefixed with a dash. They are usually the arguments that are passed to the program. +For example, in the command `grep "pattern" file.txt`, "pattern" and "file.txt" are positional arguments.