-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add Command to List Plugins in a Remote Repository #200
Add Command to List Plugins in a Remote Repository #200
Conversation
✅ Deploy Preview for coffee-docs canceled.
|
What happens if I do not specify |
fails, #[arg(short, long, action = clap::ArgAction::SetTrue, requires = "remote-name")]
plugins: bool,
#[arg(
requires = "plugins",
name = "remote-name",
help = "The name of the remote repository"
)]
name: Option<String>, the output is % coffee remote lightningd
error: the following required arguments were not provided:
--plugins
Usage: coffee remote --plugins <remote-name>
For more information, try '--help'. |
Without a flag, we can print the information about the repository. We already do it inside the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK some very small suggestion change, but we are there.
Thanks
Signed-off-by: Tarek <[email protected]>
Signed-off-by: Tarek <[email protected]>
Signed-off-by: Tarek <[email protected]>
faa1bc0
to
d39fa6f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
Description
This pull request introduces a new command to
coffee
, allowing users to list plugins in a remote repository.Example:
To list plugins in a remote repository, simply run:
Changes