go-passbolt-cli/cmd/list.go
2021-09-08 11:12:34 +02:00

21 lines
495 B
Go

package cmd
import (
"github.com/speatzle/go-passbolt-cli/folder"
"github.com/speatzle/go-passbolt-cli/resource"
"github.com/spf13/cobra"
)
// listCmd represents the list command
var listCmd = &cobra.Command{
Use: "list",
Short: "Lists Passbolt Entitys",
Long: `Lists Passbolt Entitys`,
Aliases: []string{"index", "ls", "filter", "search"},
}
func init() {
rootCmd.AddCommand(listCmd)
listCmd.AddCommand(resource.ResourceListCmd)
listCmd.AddCommand(folder.FolderListCmd)
}