mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 14:59:09 +00:00
Add Output Json Flag
This commit is contained in:
parent
45fe21119b
commit
46ceb8176d
3 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ var listCmd = &cobra.Command{
|
|||
|
||||
func init() {
|
||||
rootCmd.AddCommand(listCmd)
|
||||
listCmd.PersistentFlags().BoolP("json", "j", false, "Output JSON")
|
||||
listCmd.AddCommand(resource.ResourceListCmd)
|
||||
listCmd.AddCommand(folder.FolderListCmd)
|
||||
listCmd.AddCommand(group.GroupListCmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue