mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 10:12:37 +02:00
16 lines
604 B
Go
16 lines
604 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() {
|
|
parser.AddCommand("images", "Images management", "", &imagesGroup)
|
|
}
|