{
  "name": "st2",
  "description": "CLI for StackStorm event-driven automation platform",
  "subcommands": [
    {
      "name": "run",
      "description": "Invoke an action manually",
      "options": [
        {
          "names": [
            "-t",
            "--token"
          ],
          "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
          "takes_arg": true,
          "arg": {
            "name": "TOKEN"
          }
        },
        {
          "names": [
            "--api-key"
          ],
          "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
          "takes_arg": true,
          "arg": {
            "name": "API_KEY"
          }
        },
        {
          "names": [
            "-j",
            "--json"
          ],
          "description": "Print output in JSON format"
        },
        {
          "names": [
            "-y",
            "--yaml"
          ],
          "description": "Print output in YAML format"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Show this help and exit"
        },
        {
          "names": [
            "--attr"
          ],
          "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
          "takes_arg": true,
          "arg": {
            "name": "ATTR",
            "is_variadic": true
          }
        },
        {
          "names": [
            "-d",
            "--detail"
          ],
          "description": "Display full detail of the execution in table format"
        },
        {
          "names": [
            "-k",
            "--key"
          ],
          "description": "If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported",
          "takes_arg": true,
          "arg": {
            "name": "KEY"
          }
        },
        {
          "names": [
            "--delay"
          ],
          "description": "How long (in milliseconds) to delay the execution before scheduling",
          "takes_arg": true,
          "arg": {
            "name": "DELAY"
          }
        },
        {
          "names": [
            "--tail"
          ],
          "description": "Automatically start tailing new execution"
        },
        {
          "names": [
            "--auto-dict"
          ],
          "description": "Automatically convert list items to dictionaries when colons are detected. (NOTE - this parameter and its functionality will be deprecated in the next release in favor of a more robust conversion meth"
        },
        {
          "names": [
            "--trace-tag",
            "--trace_tag"
          ],
          "description": "A trace tag string to track execution later",
          "takes_arg": true,
          "arg": {
            "name": "TRACE_TAG"
          }
        },
        {
          "names": [
            "--trace-id"
          ],
          "description": "Existing trace id for this execution",
          "takes_arg": true,
          "arg": {
            "name": "TRACE_ID"
          }
        },
        {
          "names": [
            "-a",
            "--async"
          ],
          "description": "Do not wait for action to finish"
        },
        {
          "names": [
            "-e",
            "--inherit-env"
          ],
          "description": "Pass all the environment variables which are accessible to the CLI as 'env' parameter to the action. Note: Only works with python, local and remote runners"
        },
        {
          "names": [
            "-u",
            "--user"
          ],
          "description": "User under which to run the action (admins only)",
          "takes_arg": true,
          "arg": {
            "name": "USER"
          }
        }
      ],
      "args": [
        {
          "name": "ref-or-id",
          "description": "Reference or ID"
        },
        {
          "name": "parameters",
          "description": "List of keyword args, positional args, and optional args for the action",
          "is_variadic": true
        }
      ]
    },
    {
      "name": "action",
      "description": "An activity that happens as a response to the external event",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of actions",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-p",
                "--pack"
              ],
              "description": "Only return resources belonging to the provided pack",
              "takes_arg": true,
              "arg": {
                "name": "PACK"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual action",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a new action",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "update",
          "description": "Update an existing action",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            },
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing action",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-r",
                "--remove-files"
              ],
              "description": "Remove action files from disk"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "enable",
          "description": "Enable an existing action",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "disable",
          "description": "Disable an existing action",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "execute",
          "description": "Invoke an action manually",
          "options": [
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-k",
                "--key"
              ],
              "description": "If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported",
              "takes_arg": true,
              "arg": {
                "name": "KEY"
              }
            },
            {
              "names": [
                "--delay"
              ],
              "description": "How long (in milliseconds) to delay the execution before scheduling",
              "takes_arg": true,
              "arg": {
                "name": "DELAY"
              }
            },
            {
              "names": [
                "--tail"
              ],
              "description": "Automatically start tailing new execution"
            },
            {
              "names": [
                "--auto-dict"
              ],
              "description": "Automatically convert list items to dictionaries when colons are detected. (NOTE - this parameter and its functionality will be deprecated in the next release in favor of a more robust conversion meth"
            },
            {
              "names": [
                "--trace-tag",
                "--trace_tag"
              ],
              "description": "A trace tag string to track execution later",
              "takes_arg": true,
              "arg": {
                "name": "TRACE_TAG"
              }
            },
            {
              "names": [
                "--trace-id"
              ],
              "description": "Existing trace id for this execution",
              "takes_arg": true,
              "arg": {
                "name": "TRACE_ID"
              }
            },
            {
              "names": [
                "-a",
                "--async"
              ],
              "description": "Do not wait for action to finish"
            },
            {
              "names": [
                "-e",
                "--inherit-env"
              ],
              "description": "Pass all the environment variables which are accessible to the CLI as 'env' parameter to the action. Note: Only works with python, local and remote runners"
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            },
            {
              "name": "parameters",
              "description": "List of keyword args, positional args, and optional args for the action",
              "is_variadic": true
            }
          ]
        }
      ]
    },
    {
      "name": "action-alias",
      "description": "Action aliases",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of action aliases",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-p",
                "--pack"
              ],
              "description": "Only return resources belonging to the provided pack",
              "takes_arg": true,
              "arg": {
                "name": "PACK"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get the individual action aliases",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a new action alias",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "update",
          "description": "Update an existing action alias",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID"
            },
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing action alias",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID"
            }
          ]
        },
        {
          "name": "match",
          "description": "Get the action alias that match the command text",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "comamnd",
              "description": "Command text"
            }
          ]
        },
        {
          "name": "execute",
          "description": "Execute the command text by finding a matching action alias",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            }
          ],
          "args": [
            {
              "name": "comamnd",
              "description": "Command text"
            }
          ]
        }
      ]
    },
    {
      "name": "auth",
      "description": "Authenticate user and acquire access token",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Show this help and exit"
        },
        {
          "names": [
            "-j",
            "--json"
          ],
          "description": "Print output in JSON format"
        },
        {
          "names": [
            "-y",
            "--yaml"
          ],
          "description": "Print output in YAML format"
        },
        {
          "names": [
            "-p"
          ],
          "description": "Password",
          "takes_arg": true,
          "arg": {
            "name": "PASSWORD"
          }
        },
        {
          "names": [
            "-l",
            "--ttl"
          ],
          "description": "The life span of the token in seconds. Max TTL configured by the admin supersedes this",
          "takes_arg": true,
          "arg": {
            "name": "TTL"
          }
        },
        {
          "names": [
            "-t",
            "--only-token"
          ],
          "description": "On successful authentication, print only token to the console"
        }
      ],
      "args": [
        {
          "name": "username",
          "description": "Name of the user"
        }
      ]
    },
    {
      "name": "login",
      "description": "Authenticate user, acquire access token, and update CLI config directory",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Show this help and exit"
        },
        {
          "names": [
            "-j",
            "--json"
          ],
          "description": "Print output in JSON format"
        },
        {
          "names": [
            "-y",
            "--yaml"
          ],
          "description": "Print output in YAML format"
        },
        {
          "names": [
            "-p"
          ],
          "description": "Password",
          "takes_arg": true,
          "arg": {
            "name": "PASSWORD"
          }
        },
        {
          "names": [
            "-l",
            "--ttl"
          ],
          "description": "The life span of the token in seconds. Max TTL configured by the admin supersedes this",
          "takes_arg": true,
          "arg": {
            "name": "TTL"
          }
        },
        {
          "names": [
            "-w",
            "--write-password"
          ],
          "description": "Write the password in plain text to the config file (default is to omit it)"
        }
      ],
      "args": [
        {
          "name": "username",
          "description": "Name of the user"
        }
      ]
    },
    {
      "name": "whoami",
      "description": "Display the currently authenticated user",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Show this help and exit"
        },
        {
          "names": [
            "-j",
            "--json"
          ],
          "description": "Print output in JSON format"
        },
        {
          "names": [
            "-y",
            "--yaml"
          ],
          "description": "Print output in YAML format"
        }
      ]
    },
    {
      "name": "apikey",
      "description": "API Keys",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of api keys",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            },
            {
              "names": [
                "-d",
                "--detail"
              ],
              "description": "Display full detail of the execution in table format"
            },
            {
              "names": [
                "--show-secrets"
              ],
              "description": "Full list of attributes"
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual api key",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "key-or-id",
              "description": "Key or ID"
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a new api key",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            },
            {
              "names": [
                "-m",
                "--metadata"
              ],
              "description": "Optional metadata to associate with the API Keys",
              "takes_arg": true,
              "arg": {
                "name": "METADATA"
              }
            },
            {
              "names": [
                "-k",
                "--only-key"
              ],
              "description": "Only print API Key to the console on creation"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing api key",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "key-or-id",
              "description": "Key or ID"
            }
          ]
        },
        {
          "name": "enable",
          "description": "Enable an existing api key",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "key-or-id",
              "description": "Key or ID"
            }
          ]
        },
        {
          "name": "disable",
          "description": "Disable an existing api key",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "-k",
                "--key"
              ],
              "description": "If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported",
              "takes_arg": true,
              "arg": {
                "name": "KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "key-or-id",
              "description": "Key or ID"
            }
          ]
        },
        {
          "name": "load",
          "description": "Load api key from a file",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        }
      ]
    },
    {
      "name": "execution",
      "description": "An invocation of an action",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the 50 most recent action executions",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-n",
                "--last"
              ],
              "description": "List N most recent; use -n -1 to fetch the full result set",
              "takes_arg": true,
              "arg": {
                "name": "LAST",
                "suggestions": [
                  "10",
                  "5",
                  "1",
                  "-1"
                ]
              }
            },
            {
              "names": [
                "-s",
                "--sort"
              ],
              "description": "Sort action executions by start timestamp, asc|ascending (earliest first) or desc|descending (latest first)",
              "takes_arg": true,
              "arg": {
                "name": "SORT_ORDER",
                "suggestions": [
                  "desc",
                  "descending",
                  "asc",
                  "ascending"
                ]
              }
            },
            {
              "names": [
                "-tg",
                "timestamp-gt"
              ],
              "description": "Only return executions with timestamp greater than the one provided. Use time in the format '2000-01-01T12:00:00.000Z'",
              "takes_arg": true,
              "arg": {
                "name": "TIMESTAMP_GT"
              }
            },
            {
              "names": [
                "-tl",
                "timestamp-lt"
              ],
              "description": "Only return executions with timestamp lower than the one provided. Use time in the format '2000-01-01T12:00:00.000Z'",
              "takes_arg": true,
              "arg": {
                "name": "TIMESTAMP_LT"
              }
            },
            {
              "names": [
                "-l",
                "--showall"
              ],
              "description": "Show all attributes"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--action"
              ],
              "description": "Action reference to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "ACTION"
              }
            },
            {
              "names": [
                "--status"
              ],
              "description": "Only return executions with the provided status. Possible values are 'succeeded', 'running', 'scheduled', 'paused', 'failed', 'canceling' or 'canceled'",
              "takes_arg": true,
              "arg": {
                "name": "STATUS",
                "suggestions": [
                  "succeeded",
                  "running",
                  "scheduled",
                  "paused",
                  "failed",
                  "canceling",
                  "canceled"
                ]
              }
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            },
            {
              "names": [
                "--trigger_instance"
              ],
              "description": "Trigger instance id to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "TRIGGER_INSTANCE"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual action execution",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-x",
                "--exclude-result"
              ],
              "description": "Don't retrieve and display the result field"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-d",
                "--detail"
              ],
              "description": "Display full detail of the execution in table format"
            },
            {
              "names": [
                "-k",
                "--key"
              ],
              "description": "If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported",
              "takes_arg": true,
              "arg": {
                "name": "KEY"
              }
            },
            {
              "names": [
                "--delay"
              ],
              "description": "How long (in milliseconds) to delay the execution before scheduling",
              "takes_arg": true,
              "arg": {
                "name": "DELAY"
              }
            },
            {
              "names": [
                "--tail"
              ],
              "description": "Automatically start tailing new execution"
            },
            {
              "names": [
                "--auto-dict"
              ],
              "description": "Automatically convert list items to dictionaries when colons are detected. (NOTE - this parameter and its functionality will be deprecated in the next release in favor of a more robust conversion meth"
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "re-run",
          "description": "Re-run a particular action",
          "options": [
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--tasks"
              ],
              "description": "Name of the workflow tasks to re-run",
              "takes_arg": true,
              "arg": {
                "name": "TASKS",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--no-reset"
              ],
              "description": "Name of the with-items tasks to not reset. This only applies to Orquesta workflows. By default, all iterations for with- items tasks is rerun. If no reset, only failed iterations are rerun",
              "takes_arg": true,
              "arg": {
                "name": "NO_RESET"
              }
            },
            {
              "names": [
                "-a",
                "--async"
              ],
              "description": "Do not wait for action to finish"
            },
            {
              "names": [
                "-e",
                "--inherit-env"
              ],
              "description": "Pass all the environment variables which are accessible to the CLI as 'env' parameter to the action. Note: Only works with python, local and remote runners"
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-d",
                "--detail"
              ],
              "description": "Display full detail of the execution in table format"
            },
            {
              "names": [
                "-k",
                "--key"
              ],
              "description": "If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported",
              "takes_arg": true,
              "arg": {
                "name": "KEY"
              }
            },
            {
              "names": [
                "--delay"
              ],
              "description": "How long (in milliseconds) to delay the execution before scheduling",
              "takes_arg": true,
              "arg": {
                "name": "DELAY"
              }
            },
            {
              "names": [
                "--tail"
              ],
              "description": "Automatically start tailing new execution"
            },
            {
              "names": [
                "--auto-dict"
              ],
              "description": "Automatically convert list items to dictionaries when colons are detected. (NOTE - this parameter and its functionality will be deprecated in the next release in favor of a more robust conversion meth"
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID"
            },
            {
              "name": "parameters",
              "description": "List of keyword args, positional args, and optional args for the action",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "cancel",
          "description": "Cancel action executions",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "pause",
          "description": "Pause action executions (workflow executions only)",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-d",
                "--detail"
              ],
              "description": "Display full detail of the execution in table format"
            },
            {
              "names": [
                "-k",
                "--key"
              ],
              "description": "If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported",
              "takes_arg": true,
              "arg": {
                "name": "KEY"
              }
            },
            {
              "names": [
                "--delay"
              ],
              "description": "How long (in milliseconds) to delay the execution before scheduling",
              "takes_arg": true,
              "arg": {
                "name": "DELAY"
              }
            },
            {
              "names": [
                "--tail"
              ],
              "description": "Automatically start tailing new execution"
            },
            {
              "names": [
                "--auto-dict"
              ],
              "description": "Automatically convert list items to dictionaries when colons are detected. (NOTE - this parameter and its functionality will be deprecated in the next release in favor of a more robust conversion meth"
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "resume",
          "description": "Resume action executions (workflow executions only)",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-d",
                "--detail"
              ],
              "description": "Display full detail of the execution in table format"
            },
            {
              "names": [
                "-k",
                "--key"
              ],
              "description": "If result is type of JSON, then print specific key-value pair; dot notation for nested JSON is supported",
              "takes_arg": true,
              "arg": {
                "name": "KEY"
              }
            },
            {
              "names": [
                "--delay"
              ],
              "description": "How long (in milliseconds) to delay the execution before scheduling",
              "takes_arg": true,
              "arg": {
                "name": "DELAY"
              }
            },
            {
              "names": [
                "--tail"
              ],
              "description": "Automatically start tailing new execution"
            },
            {
              "names": [
                "--auto-dict"
              ],
              "description": "Automatically convert list items to dictionaries when colons are detected. (NOTE - this parameter and its functionality will be deprecated in the next release in favor of a more robust conversion meth"
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "tail",
          "description": "Tail output of a particular execution",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--type"
              ],
              "description": "Type of output to tail for. If not provided, defaults to all",
              "takes_arg": true,
              "arg": {
                "name": "OUTPUT_TYPE"
              }
            },
            {
              "names": [
                "--include-metadata"
              ],
              "description": "Include metadata (timestamp, output type) with the output"
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID"
            }
          ]
        }
      ]
    },
    {
      "name": "inquiry",
      "description": "Inquiries provide an opportunity to ask a question and wait for a response in a workflow",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the 50 most recent inquiries",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-n",
                "--last"
              ],
              "description": "List N most recent; use -n -1 to fetch the full result set",
              "takes_arg": true,
              "arg": {
                "name": "LAST",
                "suggestions": [
                  "10",
                  "5",
                  "1",
                  "-1"
                ]
              }
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual inquiry",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "respond",
          "description": "Respond to an inquiry",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-r",
                "--response"
              ],
              "description": "Entire response payload as JSON string (bypass interactive mode)",
              "takes_arg": true,
              "arg": {
                "name": "RESPONSE"
              }
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID"
            }
          ]
        }
      ]
    },
    {
      "name": "key",
      "description": "Key value pair is used to store commonly used configuration for reuse in sensors, actions, and rules",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the 50 most recent key value pairs",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--prefix"
              ],
              "description": "Only return values with names starting with the provided prefix",
              "takes_arg": true,
              "arg": {
                "name": "PREFIX"
              }
            },
            {
              "names": [
                "-d",
                "--decrypt"
              ],
              "description": "Decrypt secrets and displays plain text"
            },
            {
              "names": [
                "-s",
                "--scope"
              ],
              "description": "Scope item is under. Example: 'user'"
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            },
            {
              "names": [
                "-n",
                "--last"
              ],
              "description": "List N most recent; use -n -1 to fetch the full result set",
              "takes_arg": true,
              "arg": {
                "name": "LAST",
                "suggestions": [
                  "10",
                  "5",
                  "1",
                  "-1"
                ]
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual key value pair",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-d",
                "--decrypt"
              ],
              "description": "Decrypt secrets and displays plain text"
            },
            {
              "names": [
                "-s",
                "--scope"
              ],
              "description": "Scope item is under. Example: 'user'"
            }
          ],
          "args": [
            {
              "name": "name",
              "description": "Name",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing key value pair",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-s",
                "--scope"
              ],
              "description": "Scope item is under. Example: 'user'"
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            }
          ],
          "args": [
            {
              "name": "name",
              "description": "Name"
            }
          ]
        },
        {
          "name": "set",
          "description": "Set an existing key value pair",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-e",
                "--enrypt"
              ],
              "description": "Encrypt values before saving"
            },
            {
              "names": [
                "--enrypted"
              ],
              "description": "Value provided is already encrypted with the instance crypto key and should be stored as-is"
            },
            {
              "names": [
                "-l",
                "--ttl"
              ],
              "description": "The life span of the token in seconds. Max TTL configured by the admin supersedes this",
              "takes_arg": true,
              "arg": {
                "name": "TTL"
              }
            },
            {
              "names": [
                "-s",
                "--scope"
              ],
              "description": "Scope item is under. Example: 'user'"
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            }
          ],
          "args": [
            {
              "name": "name",
              "description": "Name"
            },
            {
              "name": "value",
              "description": "Value"
            }
          ]
        },
        {
          "name": "load",
          "description": "Load a list of key value pairs from file",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-c",
                "--convert"
              ],
              "description": "Convert non-string types (hash, array, boolean, int, float) to a JSON string before loading it into the datastore"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "delete_by_prefix",
          "description": "Delete KeyValue pairs which match the provided prefix",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--prefix"
              ],
              "description": "Only return values with names starting with the provided prefix",
              "takes_arg": true,
              "arg": {
                "name": "PREFIX"
              }
            }
          ],
          "args": [
            {
              "name": "prefix",
              "description": "Prefix"
            }
          ]
        }
      ]
    },
    {
      "name": "pack",
      "description": "A group of related integration resources: actions, rules, and sensors",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of packs",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get information about an installed pack",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref",
              "description": "Reference",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "show",
          "description": "Get information about an available pack from the index",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "pack",
              "description": "Pack"
            }
          ]
        },
        {
          "name": "search",
          "description": "Search the index for a pack with any attribute matching the query",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "query",
              "description": "Query"
            }
          ]
        },
        {
          "name": "install",
          "description": "Install new packs",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-d",
                "--detail"
              ],
              "description": "Display full detail of the execution in table format"
            },
            {
              "names": [
                "force"
              ],
              "description": "Force"
            },
            {
              "names": [
                "--skip-dependencies"
              ],
              "description": "Skip dependencies"
            }
          ],
          "args": [
            {
              "name": "pack",
              "description": "Pack",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "remove",
          "description": "Remove packs",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-d",
                "--detail"
              ],
              "description": "Display full detail of the execution in table format"
            }
          ],
          "args": [
            {
              "name": "pack",
              "description": "Pack",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "register",
          "description": "Register pack(s): sync all file changes with DB",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--types"
              ],
              "description": "Types of content to register",
              "takes_arg": true,
              "arg": {
                "name": "TYPES",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "pack",
              "description": "Pack",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "config",
          "description": "Configure a pack based on config schema",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "name",
              "description": "Name"
            }
          ]
        }
      ]
    },
    {
      "name": "policy",
      "description": "Policy that is enforced on a resource",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of policies",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-p",
                "--pack"
              ],
              "description": "Only return resources belonging to the provided pack",
              "takes_arg": true,
              "arg": {
                "name": "PACK"
              }
            },
            {
              "names": [
                "-r",
                "--resource-ref"
              ],
              "description": "Return policies for the resource ref",
              "takes_arg": true,
              "arg": {
                "name": "RESOURCE_REF"
              }
            },
            {
              "names": [
                "-pt",
                "--policy-type"
              ],
              "description": "Return policies of the policy type",
              "takes_arg": true,
              "arg": {
                "name": "POLICY_TYPE"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual policy",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a new policy",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "update",
          "description": "Updating an existing policy",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            },
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing policy",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        }
      ]
    },
    {
      "name": "policy-type",
      "description": "Type of policy that can be applied to the resources",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of policy types",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-r",
                "--resource-type"
              ],
              "description": "Return policy types for the resource type",
              "takes_arg": true,
              "arg": {
                "name": "RESOURCE_TYPE"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual policy type",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        }
      ]
    },
    {
      "name": "rule",
      "description": "A specification to invoke an 'action' on a 'trigger' selectively based on some criteria'",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the 50 most recent rules",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-n",
                "--last"
              ],
              "description": "List N most recent; use -n -1 to fetch the full result set",
              "takes_arg": true,
              "arg": {
                "name": "LAST",
                "suggestions": [
                  "10",
                  "5",
                  "1",
                  "-1"
                ]
              }
            },
            {
              "names": [
                "--iftt"
              ],
              "description": "Show trigger and action in display list"
            },
            {
              "names": [
                "-p",
                "--pack"
              ],
              "description": "Only return resources belonging to the provided pack",
              "takes_arg": true,
              "arg": {
                "name": "PACK"
              }
            },
            {
              "names": [
                "--enabled"
              ],
              "description": "Show enabled"
            },
            {
              "names": [
                "--disabled"
              ],
              "description": "Show disabled"
            },
            {
              "names": [
                "--action"
              ],
              "description": "Action reference to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "ACTION"
              }
            },
            {
              "names": [
                "-g",
                "--trigger"
              ],
              "description": "Trigger type reference to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "TRIGGER"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual rule",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a new rule",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "update",
          "description": "Update an existing rule",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            },
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing rule",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "enable",
          "description": "Enable an existing rule",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "disable",
          "description": "Disable an existing rule",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        }
      ]
    },
    {
      "name": "webhook",
      "description": "Webhooks",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of webhooks",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-p",
                "--pack"
              ],
              "description": "Only return resources belonging to the provided pack",
              "takes_arg": true,
              "arg": {
                "name": "PACK"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual webhooks",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "url",
              "description": "URL",
              "is_variadic": true
            }
          ]
        }
      ]
    },
    {
      "name": "timer",
      "description": "Timers",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of timers",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-ty",
                "--timer-type"
              ],
              "description": "List timers type, example: 'core.st2.IntervalTimer', 'core.st2.DateTimer', 'core.st2.CronTimer'",
              "takes_arg": true,
              "arg": {
                "name": "TIMER_TYPE",
                "suggestions": [
                  "core.st2.IntervalTimer",
                  "core.st2.DateTimer",
                  "core.st2.CronTimer"
                ]
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual timer",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID",
              "is_variadic": true
            }
          ]
        }
      ]
    },
    {
      "name": "runner",
      "description": "Runner is a type of handler for a specific class of actions",
      "subcommands": [
        {
          "name": "list",
          "description": "List of commands for managing runners",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual runner",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "enable",
          "description": "Enable an existing runner",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID"
            }
          ]
        },
        {
          "name": "disable",
          "description": "Disable an existing runner",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID"
            }
          ]
        }
      ]
    },
    {
      "name": "sensor",
      "description": "An adapter which allows you to integrate StackStorm with external system",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of sensortypes",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-p",
                "--pack"
              ],
              "description": "Only return resources belonging to the provided pack",
              "takes_arg": true,
              "arg": {
                "name": "PACK"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual sensor",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "enable",
          "description": "Enable an existing sensor",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "disable",
          "description": "Disalbe an existing sensor",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        }
      ]
    },
    {
      "name": "trace",
      "description": "A group of executions, rules and triggerinstances that are related",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the 50 most recent traces",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-n",
                "--last"
              ],
              "description": "List N most recent; use -n -1 to fetch the full result set",
              "takes_arg": true,
              "arg": {
                "name": "LAST",
                "suggestions": [
                  "10",
                  "5",
                  "1",
                  "-1"
                ]
              }
            },
            {
              "names": [
                "-s",
                "--sort"
              ],
              "description": "Sort action executions by start timestamp, asc|ascending (earliest first) or desc|descending (latest first)",
              "takes_arg": true,
              "arg": {
                "name": "SORT_ORDER",
                "suggestions": [
                  "desc",
                  "descending",
                  "asc",
                  "ascending"
                ]
              }
            },
            {
              "names": [
                "--trace-tag",
                "--trace_tag"
              ],
              "description": "A trace tag string to track execution later",
              "takes_arg": true,
              "arg": {
                "name": "TRACE_TAG"
              }
            },
            {
              "names": [
                "-e",
                "--execution"
              ],
              "description": "Execution to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "EXECUTION"
              }
            },
            {
              "names": [
                "-r",
                "--rule"
              ],
              "description": "Rule to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "RULE"
              }
            },
            {
              "names": [
                "--trigger_instance"
              ],
              "description": "Trigger instance id to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "TRIGGER_INSTANCE"
              }
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual trace",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-e",
                "--execution"
              ],
              "description": "Execution to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "EXECUTION"
              }
            },
            {
              "names": [
                "-r",
                "--rule"
              ],
              "description": "Rule to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "RULE"
              }
            },
            {
              "names": [
                "--trigger_instance"
              ],
              "description": "Trigger instance id to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "TRIGGER_INSTANCE"
              }
            },
            {
              "names": [
                "--show-executions"
              ],
              "description": "Only show executions"
            },
            {
              "names": [
                "--show-rules"
              ],
              "description": "Only show rules"
            },
            {
              "names": [
                "-n",
                "--hide-noop-triggers"
              ],
              "description": "Hide noop trigger instances"
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        }
      ]
    },
    {
      "name": "trigger",
      "description": "An external event that is mapped to a st2 input. It is the st2 invocation point",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of triggers",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-p",
                "--pack"
              ],
              "description": "Only return resources belonging to the provided pack",
              "takes_arg": true,
              "arg": {
                "name": "PACK"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual trigger",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a new trigger",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "update",
          "description": "Updating an existing trigger",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            },
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing trigger",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref-or-id",
              "description": "Reference or ID"
            }
          ]
        },
        {
          "name": "getspecs",
          "description": "Return Trigger Specifications of a Trigger",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "ref",
              "description": "Reference"
            }
          ]
        }
      ]
    },
    {
      "name": "trigger-instance",
      "description": "Actual instances of triggers received by st2",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the 50 most recent triggerinstances",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-n",
                "--last"
              ],
              "description": "List N most recent; use -n -1 to fetch the full result set",
              "takes_arg": true,
              "arg": {
                "name": "LAST",
                "suggestions": [
                  "10",
                  "5",
                  "1",
                  "-1"
                ]
              }
            },
            {
              "names": [
                "-tg",
                "timestamp-gt"
              ],
              "description": "Only return executions with timestamp greater than the one provided. Use time in the format '2000-01-01T12:00:00.000Z'",
              "takes_arg": true,
              "arg": {
                "name": "TIMESTAMP_GT"
              }
            },
            {
              "names": [
                "-tl",
                "timestamp-lt"
              ],
              "description": "Only return executions with timestamp lower than the one provided. Use time in the format '2000-01-01T12:00:00.000Z'",
              "takes_arg": true,
              "arg": {
                "name": "TIMESTAMP_LT"
              }
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-g",
                "--trigger"
              ],
              "description": "Trigger type reference to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "TRIGGER"
              }
            },
            {
              "names": [
                "--status"
              ],
              "description": "Only return executions with the provided status. Possible values are 'succeeded', 'running', 'scheduled', 'paused', 'failed', 'canceling' or 'canceled'",
              "takes_arg": true,
              "arg": {
                "name": "STATUS",
                "suggestions": [
                  "succeeded",
                  "running",
                  "scheduled",
                  "paused",
                  "failed",
                  "canceling",
                  "canceled"
                ]
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual trigger instance",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "re-emit",
          "description": "Re-emit a particular trigger instance",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        }
      ]
    },
    {
      "name": "rule-enforcement",
      "description": "Models that represent enforcement of rules",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the 50 most recent rule enforcements",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-tg",
                "timestamp-gt"
              ],
              "description": "Only return executions with timestamp greater than the one provided. Use time in the format '2000-01-01T12:00:00.000Z'",
              "takes_arg": true,
              "arg": {
                "name": "TIMESTAMP_GT"
              }
            },
            {
              "names": [
                "-tl",
                "timestamp-lt"
              ],
              "description": "Only return executions with timestamp lower than the one provided. Use time in the format '2000-01-01T12:00:00.000Z'",
              "takes_arg": true,
              "arg": {
                "name": "TIMESTAMP_LT"
              }
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--trigger_instance"
              ],
              "description": "Trigger instance id to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "TRIGGER_INSTANCE"
              }
            },
            {
              "names": [
                "-e",
                "--execution"
              ],
              "description": "Execution to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "EXECUTION"
              }
            },
            {
              "names": [
                "-r",
                "--rule"
              ],
              "description": "Rule to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "RULE"
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual rule enforcement",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a new rule enforcement",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "update",
          "description": "Update an existing rule enforcement",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID"
            },
            {
              "name": "file",
              "description": "JSON/YAML file",
              "template": "filepaths"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete an existing rule enforcement",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ],
          "args": [
            {
              "name": "name-or-id",
              "description": "Name or ID"
            }
          ]
        }
      ]
    },
    {
      "name": "workflow",
      "description": "An adapter which allows you to integrate StackStorm with external system",
      "subcommands": [
        {
          "name": "inspect",
          "description": "Inspect workflow definition and return the list of errors if any",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "--file"
              ],
              "description": "Local file path to the workflow definition",
              "takes_arg": true,
              "arg": {
                "name": "FILE",
                "template": "filepaths"
              }
            },
            {
              "names": [
                "--action"
              ],
              "description": "Action reference to filter the list",
              "takes_arg": true,
              "arg": {
                "name": "ACTION"
              }
            }
          ]
        }
      ]
    },
    {
      "name": "service-registry",
      "description": "Service registry group and membership related commands",
      "subcommands": [
        {
          "name": "group",
          "description": "Manage service registry groups",
          "subcommands": [
            {
              "name": "list",
              "description": "Get list of groups",
              "options": [
                {
                  "names": [
                    "-h",
                    "--help"
                  ],
                  "description": "Show this help and exit"
                },
                {
                  "names": [
                    "-t",
                    "--token"
                  ],
                  "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
                  "takes_arg": true,
                  "arg": {
                    "name": "TOKEN"
                  }
                },
                {
                  "names": [
                    "--api-key"
                  ],
                  "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
                  "takes_arg": true,
                  "arg": {
                    "name": "API_KEY"
                  }
                },
                {
                  "names": [
                    "-j",
                    "--json"
                  ],
                  "description": "Print output in JSON format"
                },
                {
                  "names": [
                    "-y",
                    "--yaml"
                  ],
                  "description": "Print output in YAML format"
                },
                {
                  "names": [
                    "--attr"
                  ],
                  "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
                  "takes_arg": true,
                  "arg": {
                    "name": "ATTR",
                    "is_variadic": true
                  }
                },
                {
                  "names": [
                    "-w",
                    "--width"
                  ],
                  "description": "Set the width of the columns in output",
                  "takes_arg": true,
                  "arg": {
                    "name": "WIDTH",
                    "is_variadic": true
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "member",
          "description": "Manage service registry members",
          "subcommands": [
            {
              "name": "list",
              "description": "Get list of group members",
              "options": [
                {
                  "names": [
                    "-h",
                    "--help"
                  ],
                  "description": "Show this help and exit"
                },
                {
                  "names": [
                    "-t",
                    "--token"
                  ],
                  "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
                  "takes_arg": true,
                  "arg": {
                    "name": "TOKEN"
                  }
                },
                {
                  "names": [
                    "--api-key"
                  ],
                  "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
                  "takes_arg": true,
                  "arg": {
                    "name": "API_KEY"
                  }
                },
                {
                  "names": [
                    "-j",
                    "--json"
                  ],
                  "description": "Print output in JSON format"
                },
                {
                  "names": [
                    "-y",
                    "--yaml"
                  ],
                  "description": "Print output in YAML format"
                },
                {
                  "names": [
                    "--attr"
                  ],
                  "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
                  "takes_arg": true,
                  "arg": {
                    "name": "ATTR",
                    "is_variadic": true
                  }
                },
                {
                  "names": [
                    "-w",
                    "--width"
                  ],
                  "description": "Set the width of the columns in output",
                  "takes_arg": true,
                  "arg": {
                    "name": "WIDTH",
                    "is_variadic": true
                  }
                },
                {
                  "names": [
                    "--group-id"
                  ],
                  "description": "Group ID",
                  "takes_arg": true,
                  "arg": {
                    "name": "GROUP_ID"
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "role",
      "description": "RBAC roles",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of the roles",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-s",
                "--system"
              ],
              "description": "Only display system roles"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual role",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            }
          ],
          "args": [
            {
              "name": "id",
              "description": "ID",
              "is_variadic": true
            }
          ]
        }
      ]
    },
    {
      "name": "role-assignment",
      "description": "RBAC role assignments",
      "subcommands": [
        {
          "name": "list",
          "description": "Get the list of role assignments",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            }
          ]
        },
        {
          "name": "get",
          "description": "Get individual assignment",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Show this help and exit"
            },
            {
              "names": [
                "-t",
                "--token"
              ],
              "description": "Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "TOKEN"
              }
            },
            {
              "names": [
                "--api-key"
              ],
              "description": "Api Key for user authentication. Get ST2_API_KEY from the environment variables by default",
              "takes_arg": true,
              "arg": {
                "name": "API_KEY"
              }
            },
            {
              "names": [
                "-j",
                "--json"
              ],
              "description": "Print output in JSON format"
            },
            {
              "names": [
                "-y",
                "--yaml"
              ],
              "description": "Print output in YAML format"
            },
            {
              "names": [
                "-r",
                "--role"
              ],
              "description": "Role to filter on",
              "takes_arg": true,
              "arg": {
                "name": "ROLE"
              }
            },
            {
              "names": [
                "-u",
                "--user"
              ],
              "description": "User under which to run the action (admins only)",
              "takes_arg": true,
              "arg": {
                "name": "USER"
              }
            },
            {
              "names": [
                "-s",
                "--source"
              ],
              "description": "Source to filter on",
              "takes_arg": true,
              "arg": {
                "name": "SOURCE"
              }
            },
            {
              "names": [
                "--remote"
              ],
              "description": "Only display remote role assignments"
            },
            {
              "names": [
                "--attr"
              ],
              "description": "List of attributes to include in the output. 'all' or unspecified will return all attributes",
              "takes_arg": true,
              "arg": {
                "name": "ATTR",
                "is_variadic": true
              }
            },
            {
              "names": [
                "-w",
                "--width"
              ],
              "description": "Set the width of the columns in output",
              "takes_arg": true,
              "arg": {
                "name": "WIDTH",
                "is_variadic": true
              }
            }
          ]
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Show this help message and exit"
    },
    {
      "names": [
        "--version"
      ],
      "description": "Show program's version number and exit"
    },
    {
      "names": [
        "--url"
      ],
      "description": "Base URL for the API servers. Assumes all servers use the same base URL and default ports are used. Get ST2_BASE_URL from the environment variables by default",
      "takes_arg": true,
      "arg": {
        "name": "BASE_URL"
      }
    },
    {
      "names": [
        "--auth-url"
      ],
      "description": "URL for the authentication service. Get ST2_AUTH_URL from the environment variables by default",
      "takes_arg": true,
      "arg": {
        "name": "AUTH_URL"
      }
    },
    {
      "names": [
        "--api-url"
      ],
      "description": "URL for the API server. Get ST2_API_URL from the environment variables by default",
      "takes_arg": true,
      "arg": {
        "name": "API_URL"
      }
    },
    {
      "names": [
        "--stream-url"
      ],
      "description": "URL for the stream endpoint. Get ST2_STREAM_URLfrom the environment variables by default",
      "takes_arg": true,
      "arg": {
        "name": "ST2_STREAM_URL"
      }
    },
    {
      "names": [
        "--api-version"
      ],
      "description": "API version to use. Get ST2_API_VERSION from the environment variables by default",
      "takes_arg": true,
      "arg": {
        "name": "API_VERSION"
      }
    },
    {
      "names": [
        "--cacert"
      ],
      "description": "Path to the CA cert bundle for the SSL endpoints. Get ST2_CACERT from the environment variables by default. If this is not provided, then SSL cert will not be verified",
      "takes_arg": true,
      "arg": {
        "name": "CACERT"
      }
    },
    {
      "names": [
        "--config-file"
      ],
      "description": "Path to the CLI config file",
      "takes_arg": true,
      "arg": {
        "name": "CONFIG_FILE"
      }
    },
    {
      "names": [
        "--print-config"
      ],
      "description": "Parse the config file and print the values"
    },
    {
      "names": [
        "--skip-config"
      ],
      "description": "Don't parse and use the CLI config file"
    },
    {
      "names": [
        "--debug"
      ],
      "description": "Enable debug mode"
    }
  ]
}
