frostfs-node/cmd/neofs-cli/modules/acl.go
Stanislav Bogatyrev 246a15de35 cli: Add empty neofs-cli app structure
In the following release `neofs-cli` will be used to directly manage NeoFS Node.
All required definitions and interfaces are also moving from `neofs-api` to
`neofs-node` repository, so it's more convinient to have `neofs-cli` here.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-02 11:25:35 +03:00

31 lines
768 B
Go

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