Skip to content

Conversation

@jphastings
Copy link
Contributor

@jphastings jphastings commented Jan 18, 2025

Configures clap to show the CLI usage if no arguments are provided.

I'm not particularly familiar with Clap or Rust, but this confused me when I was using the CLI, so figured I'd have a crack at fixing it!

It looks as though the subcommands might benefit from the same config; are there any you're expecting to operate without args? (publish looks like maybe?)

Configures clap to show the CLI usage if no arguments are provided.
@SeverinAlexB SeverinAlexB merged commit d3a6a18 into pubky:master Jan 20, 2025
3 checks passed
@SeverinAlexB
Copy link
Collaborator

SeverinAlexB commented Jan 20, 2025

Agree, subcommand benefit from this as well. At least the once without default args only. Thx for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants