Commit graph

14 commits

Author SHA1 Message Date
Siddharth Singh
339aff435b
log commands as they are executed, dispose of ssh when done 2024-09-30 11:37:55 +05:30
Siddharth Singh
5cbdf30501
create getOptionName and getOptionAliases
also fixed a logical error where the default help option would accidentally clear a few fields
2024-09-30 11:35:52 +05:30
Siddharth Singh
81eb1fafc3
handle required options 2024-09-30 11:34:35 +05:30
Siddharth Singh
76bd1ad784
add runLocally, add required opt for Option 2024-09-30 11:16:15 +05:30
Siddharth Singh
b4f8cd894f
make command execution over ssh way neater 2024-09-30 11:15:24 +05:30
Siddharth Singh
267e8e8930
create remote init command 2024-09-30 10:11:26 +05:30
Siddharth Singh
4300153969
add (admittedly pretty janky) help generation to Command 2024-09-30 10:10:57 +05:30
Siddharth Singh
f87e76d624
.action --> doAction 2024-09-30 02:39:05 +05:30
Siddharth Singh
f452e8324f
overhaul identity file detection and resolution 2024-09-30 02:38:32 +05:30
Siddharth Singh
9f034fdf1d
get rid of setupCli, use .option() to configure global methods 2024-09-27 23:47:44 +05:30
Siddharth Singh
8ab5e19499
nicer subcommand api 2024-09-27 23:46:47 +05:30
Siddharth Singh
2afb859027
clean up daft parsing behaviour 2024-09-27 23:40:12 +05:30
Siddharth Singh
4a432e6a23
nicer error handling 2024-09-27 21:29:01 +05:30
Siddharth Singh
5b09a99729
split up utils 2024-09-27 21:24:17 +05:30