implemented game art download
This commit is contained in:
@@ -13,9 +13,14 @@ type RenameCmd struct {
|
||||
File string `arg:"positional"`
|
||||
}
|
||||
|
||||
type ArtCmd struct {
|
||||
File string `arg:"positional"`
|
||||
}
|
||||
|
||||
type args struct {
|
||||
Scan *ScanCmd `arg:"subcommand:scan"`
|
||||
Rename *RenameCmd `arg:"subcommand:rename"`
|
||||
Art *ArtCmd `arg:"subcommand:art"`
|
||||
}
|
||||
|
||||
func Run() {
|
||||
@@ -27,5 +32,7 @@ func Run() {
|
||||
oplcli.Scan(args.Scan.File, oplcli.Config{})
|
||||
case args.Rename != nil:
|
||||
oplcli.Rename(args.Rename.File, oplcli.Config{})
|
||||
case args.Art != nil:
|
||||
oplcli.DownloadGameArt(args.Art.File, oplcli.Config{})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user