mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 10:12:37 +02:00
14 lines
479 B
Go
14 lines
479 B
Go
package piwigocli
|
|
|
|
type MethodGroup struct {
|
|
List MethodListCommand `command:"list" description:"List of available methods"`
|
|
Details MethodDetailsCommand `command:"details" description:"Details of a method"`
|
|
Try MethodTryCommand `command:"try" description:"Test a method. Parameters after the command as k=v, can be repeated like k=v1 k=v2."`
|
|
}
|
|
|
|
var methodGroup MethodGroup
|
|
|
|
func init() {
|
|
parser.AddCommand("method", "Reflexion management", "", &methodGroup)
|
|
}
|