frostfs-node/cmd/neofs-cli/modules/accounting.go

32 lines
826 B
Go
Raw Normal View History

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// accountingCmd represents the accounting command
var accountingCmd = &cobra.Command{
Use: "accounting",
Short: "Operations with accounts and balances",
Long: `Operations with accounts and balances`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("accounting called")
},
}
func init() {
rootCmd.AddCommand(accountingCmd)
// Here you will define your flags and configuration settings.
// Cobra supports Persistent Flags which will work for this command
// and all subcommands, e.g.:
// accountingCmd.PersistentFlags().String("foo", "", "A help for foo")
// Cobra supports local flags which will only run when this command
// is called directly, e.g.:
// accountingCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}