14 Commits

Author SHA1 Message Date
Kovid Goyal
d7fb143ee0 Allow explicitly setting boolean options in Go cli parser
Matches C parser
2025-04-28 11:54:51 +05:30
Kovid Goyal
39bf612071 DRYer 2025-04-28 11:33:58 +05:30
Kovid Goyal
92c6d90132 Allow single char options to take =value in kittens
Matches kitty cli parsing behavior
2025-04-28 11:27:33 +05:30
Kovid Goyal
590c1bd7ad dont parse args for the ssh kitten as it will do so itself 2023-02-26 08:01:02 +05:30
Kovid Goyal
928becece4 Fix #5773 2022-12-14 15:45:43 +05:30
Kovid Goyal
e536ef7844 Suggestions for sub command names as well 2022-11-14 15:42:03 +05:30
Kovid Goyal
0dab006733 Allow un-ambiguous prefixes for command names 2022-11-14 15:42:03 +05:30
Kovid Goyal
75ead358a2 Show suggestions for options based on levenshtein distance 2022-11-14 15:42:03 +05:30
Kovid Goyal
74b1cac344 Allow using unabiguous long option prefixes 2022-11-14 15:42:03 +05:30
Kovid Goyal
04022ed363 Various fixes to CLI parsing 2022-11-14 15:42:02 +05:30
Kovid Goyal
79cfc1e70a Move kitty-tool __complete__ to use the new CLI framework 2022-11-14 15:42:01 +05:30
Kovid Goyal
707963b694 Code to conveniently read option values into a struct 2022-11-14 15:42:00 +05:30
Kovid Goyal
1811949706 Implement cloning of commands 2022-11-14 15:42:00 +05:30
Kovid Goyal
bc38bd75fd Start work on getting rid of the cobra dependency
Command line parsing is easy and I can do it better.
2022-11-14 15:42:00 +05:30