mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-19 09:52:03 +08:00
commands: Added 'Description' fields to Command, Argument, Option
This commit is contained in:

committed by
Juan Batiz-Benet

parent
538dac153b
commit
351ed9589a
@ -28,7 +28,9 @@ type Marshaller func(Response) ([]byte, error)
|
||||
// Command is a runnable command, with input arguments and options (flags).
|
||||
// It can also have Subcommands, to group units of work into sets.
|
||||
type Command struct {
|
||||
Description string
|
||||
Help string
|
||||
|
||||
Options []Option
|
||||
Arguments []Argument
|
||||
Run Function
|
||||
|
Reference in New Issue
Block a user