mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 02:02:37 +02:00
19 lines
647 B
Go
19 lines
647 B
Go
package main
|
|
|
|
type ImagesGroup struct {
|
|
List ImagesListCommand `command:"list" description:"List of images"`
|
|
Details ImageDetailsCommand `command:"details" description:"Details of the images"`
|
|
Upload ImagesUploadCommand `command:"upload" description:"Upload of an images"`
|
|
UploadTree ImagesUploadTreeCommand `command:"upload-tree" description:"Upload of a directory of images"`
|
|
Tag ImagesTagCommand `command:"tag" description:"Tag an image"`
|
|
}
|
|
|
|
var imagesGroup ImagesGroup
|
|
|
|
func init() {
|
|
_, err := parser.AddCommand("images", "Images management", "", &imagesGroup)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|