-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI: invoke panicks when no --
included
#999
Comments
I've also been considering making the generated cli interactive. |
That would be very cool, although that wouldn't need to be mutually exclusive with the existing UI. The existing UI is particularly useful in scripts, so I think there's strong value in retaining it and adding an interactive API in addition? I imagine both can be powered by much of the same logic. |
Yeah I've also had some issues in some shells, when using the clap interactive crate. Still seems like an easy addition that would be none breaking since the normal CLI is still available. |
I looked more into this and the tools that I found for generating an interactive prompt all use |
What version are you using?
What did you do?
Ran the
contract invoke
sub command without any parameters other than the contract ID:❯ SOROBAN_RPC_URL=... SOROBAN_NETWORK_PASSPHRASE=... soroban contract invoke --id C...
What did you expect to see?
I expected to see some default help output, as if I had run the command with
-- --help
:What did you see instead?
A panick.
The text was updated successfully, but these errors were encountered: