gridscale-check/storages.go

23 lines
400 B
Go

// Copyright 2018 Felix Kronlage <fkr@hazardous.org>
package main
import (
"fmt"
)
type StoragesCommand struct {
//Age struct {} `command:"age"`
List StorageListCommand `command:"list" description:"list the available storages"`
}
var storagesCommand StoragesCommand
func (x *StoragesCommand) Execute(args []string) error {
config(Checker.ConfigFile)
fmt.Println("storages")
return nil
}