boa icon indicating copy to clipboard operation
boa copied to clipboard

specify arg and flag values via boa

Open bbkane opened this issue 2 years ago • 2 comments

It's really neat that Boa allows for interactive subcommand selection, but (from the GIF), it looks like it exits after you pick the command. It would be really neat if you could use Boa to execute the selected subcommand with the args/flags you'd like.

I'm writing my own Cobra alternative, so I'm super interested in watching your innovation here - I'll probably port it to mine :D

bbkane avatar May 12 '22 19:05 bbkane

I agree that this would be a great add - I've thought about fair amount and, for now, landed on just adding the print option. However, I actually think the better solve would be to use a text input that defaults for the command usage line and allows the user to add additional flags/options.

I'll see what I can do !! Thanks for checking this out.

elewis787 avatar May 12 '22 19:05 elewis787

FWIW, Textualize/trogon may be a good source of inspiration.

reitzig avatar Jan 17 '24 00:01 reitzig