mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 18:22:37 +02:00
15 lines
298 B
Go
15 lines
298 B
Go
package main
|
|
|
|
type CategoriesGroup struct {
|
|
List CategoriesListCommand `command:"list" description:"List categories"`
|
|
}
|
|
|
|
var categoriesGroup CategoriesGroup
|
|
|
|
func init() {
|
|
_, err := parser.AddCommand("categories", "Categories management", "", &categoriesGroup)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|