mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-19 09:52:03 +08:00
commands: Got rid of old helptext fields, use HelpText struct fields in helptext generator
This commit is contained in:

committed by
Juan Batiz-Benet

parent
e700b16576
commit
646920b0dd
@ -44,13 +44,6 @@ type HelpText struct {
|
||||
// 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 {
|
||||
// TODO: remove these fields after porting commands to HelpText struct
|
||||
Description string
|
||||
Help string
|
||||
SubcommandHelp string
|
||||
OptionHelp string
|
||||
ArgumentHelp string
|
||||
|
||||
Options []Option
|
||||
Arguments []Argument
|
||||
Run Function
|
||||
|
Reference in New Issue
Block a user