Evan Fiordeliso
|
7123217e58
|
Add semi-working implementation of fishshell completions
|
2023-11-12 23:54:52 -05:00 |
Evan Fiordeliso
|
3f7f04e4f1
|
Add completions subcommands
|
2023-11-12 18:50:02 -05:00 |
Evan Fiordeliso
|
c6e41de5c8
|
Add command arguments to help menu and don't show available options if there aren't any
|
2023-11-12 17:22:17 -05:00 |
Evan Fiordeliso
|
9e6ca2ce76
|
Rename opts package to opt
|
2023-11-12 17:19:34 -05:00 |
Evan Fiordeliso
|
306443ae81
|
Modify a few test cases to cover a few lines in the float option
|
2023-11-12 17:09:33 -05:00 |
Evan Fiordeliso
|
753c179edb
|
Rename TakesArg to RequiresVal
|
2023-11-12 17:07:38 -05:00 |
Evan Fiordeliso
|
b8a7d72433
|
Return error when value is not specified and add more test cases
|
2023-11-12 17:06:43 -05:00 |
Evan Fiordeliso
|
9456b4097b
|
Add more test cases
|
2023-11-12 17:00:01 -05:00 |
Evan Fiordeliso
|
a06e83f96a
|
Remove benchmarks
|
2023-11-12 16:54:04 -05:00 |
Evan Fiordeliso
|
0518fee98e
|
Remove cmd directory and add comment to go.mod
|
2023-11-12 14:28:44 -05:00 |
Evan Fiordeliso
|
e061bcb881
|
Add a bunch of test cases for the parser and add benchmarks
|
2023-11-12 14:27:36 -05:00 |
Evan Fiordeliso
|
981bfaa04e
|
Add error for unknown option
|
2023-11-11 21:29:56 -05:00 |
Evan Fiordeliso
|
f4c5adc4c7
|
Refactor the option parsing code to use methods on a struct
|
2023-11-11 21:18:18 -05:00 |
Evan Fiordeliso
|
34bd7544b1
|
Add option parsing
|
2023-11-11 20:49:38 -05:00 |
Evan Fiordeliso
|
9079086626
|
Rename flags to options
|
2023-11-11 19:28:58 -05:00 |
Evan Fiordeliso
|
43191d3ea2
|
Fix subcommand footer in help menu
|
2023-11-11 19:17:46 -05:00 |
Evan Fiordeliso
|
0cecbd6003
|
Add command set and move help and version flags to global flags default set
|
2023-11-11 19:16:05 -05:00 |
Evan Fiordeliso
|
46a6f8d48e
|
Better flags help lines
|
2023-11-10 15:11:50 -05:00 |
Evan Fiordeliso
|
8f98961c46
|
Add more flag types and add flag set
|
2023-11-10 14:59:37 -05:00 |
Evan Fiordeliso
|
5519d58908
|
Add help menu
|
2023-11-10 13:17:01 -05:00 |
Evan Fiordeliso
|
d1b61e2eb4
|
Update go.fifitido.net/cmd in hello world example
|
2023-11-10 00:59:53 -05:00 |
Evan Fiordeliso
|
31e40ecc82
|
Remove executable from args in root
|
2023-11-10 00:59:06 -05:00 |
Evan Fiordeliso
|
def39983fd
|
Add hello world example and add more options
|
2023-11-10 00:49:44 -05:00 |
Evan Fiordeliso
|
c32ce2efcd
|
Add basic command handling, argument struct, and flag struct
|
2023-11-09 23:34:37 -05:00 |
Evan Fiordeliso
|
c95ea59d08
|
Init go module
|
2023-11-09 23:07:00 -05:00 |
Evan Fiordeliso
|
65ab16dd04
|
Init devenv
|
2023-11-09 23:06:27 -05:00 |
Evan Fiordeliso
|
441b8b0998
|
Initial commit
|
2023-11-09 22:59:46 -05:00 |