{
  "name": "meroxa",
  "description": "The Meroxa CLI",
  "subcommands": [
    {
      "name": "accounts",
      "aliases": [
        "account"
      ],
      "description": "Manage Meroxa Accounts",
      "subcommands": [
        {
          "name": "ls",
          "aliases": [
            "list"
          ],
          "description": "List Meroxa Accounts",
          "options": [
            {
              "names": [
                "--no-headers"
              ],
              "description": "Display output without headers"
            }
          ]
        },
        {
          "name": "set",
          "description": "Set active account"
        }
      ]
    },
    {
      "name": "api",
      "description": "Invoke Meroxa API"
    },
    {
      "name": "app",
      "aliases": [
        "apps"
      ],
      "description": "Manage Turbine Data Applications",
      "subcommands": [
        {
          "name": "deploy",
          "description": "Deploy a Turbine Data Application",
          "options": [
            {
              "names": [
                "--env"
              ],
              "description": "Environment (name or UUID) where application will be deployed to",
              "takes_arg": true,
              "arg": {
                "name": "env"
              }
            },
            {
              "names": [
                "--path"
              ],
              "description": "Path to the app directory (default is local directory)",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            },
            {
              "names": [
                "--skip-collection-validation"
              ],
              "description": "Skips unique destination collection and looping validations"
            }
          ]
        },
        {
          "name": "describe",
          "description": "Describe a Turbine Data Application",
          "options": [
            {
              "names": [
                "--path"
              ],
              "description": "Path to the app directory (default is local directory)",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            }
          ]
        },
        {
          "name": "init",
          "description": "Initialize a Turbine Data Application",
          "options": [
            {
              "names": [
                "--lang",
                "-l"
              ],
              "description": "Language to use (js|go|py) (required)",
              "takes_arg": true,
              "arg": {
                "name": "lang",
                "suggestions": [
                  "js",
                  "go",
                  "py"
                ]
              },
              "is_required": true
            },
            {
              "names": [
                "--mod-vendor"
              ],
              "description": "Whether to download modules to vendor or globally while initializing a Go application"
            },
            {
              "names": [
                "--path"
              ],
              "description": "Path where application will be initialized (current directory as default)",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            },
            {
              "names": [
                "--skip-mod-init"
              ],
              "description": "Whether to run 'go mod init' while initializing a Go application"
            }
          ]
        },
        {
          "name": "ls",
          "aliases": [
            "list"
          ],
          "description": "List Turbine Data Applications",
          "options": [
            {
              "names": [
                "--no-headers"
              ],
              "description": "Display output without headers"
            }
          ]
        },
        {
          "name": "log",
          "aliases": [
            "logs"
          ],
          "description": "View relevant logs to the state of the given Turbine Data Application",
          "options": [
            {
              "names": [
                "--path"
              ],
              "description": "Path to the app directory (default is local directory)",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            }
          ]
        },
        {
          "name": "open",
          "description": "Open the link to a Turbine Data Application in the Dashboard",
          "options": [
            {
              "names": [
                "--path"
              ],
              "description": "Path to the app directory (default is local directory)",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            }
          ]
        },
        {
          "name": "rm",
          "aliases": [
            "delete",
            "remove"
          ],
          "description": "Remove a Turbine Data Application",
          "options": [
            {
              "names": [
                "--force",
                "-f"
              ],
              "description": "Skip confirmation"
            },
            {
              "names": [
                "--path"
              ],
              "description": "Path to the app directory (default is local directory)",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            }
          ]
        },
        {
          "name": "run",
          "description": "Execute a Turbine Data Application locally",
          "options": [
            {
              "names": [
                "--path"
              ],
              "description": "Path of application to run",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            }
          ]
        },
        {
          "name": "upgrade",
          "description": "Upgrade a Turbine Data Application",
          "options": [
            {
              "names": [
                "--path"
              ],
              "description": "Path where application exists (current directory as default)",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "template": "folders"
              }
            }
          ]
        }
      ]
    },
    {
      "name": "auth",
      "description": "Authentication commands for Meroxa",
      "subcommands": [
        {
          "name": "login",
          "description": "Login or Sign up to the Meroxa Platform"
        },
        {
          "name": "logout",
          "description": "Clears local login credentials of the Meroxa Platform"
        },
        {
          "name": "whoami",
          "description": "Display the current logged in user"
        }
      ]
    },
    {
      "name": "billing",
      "description": "Open your billing page in a web browser"
    },
    {
      "name": "build",
      "aliases": [
        "builds"
      ],
      "description": "Inspect Process Builds on Meroxa",
      "subcommands": [
        {
          "name": "describe",
          "description": "Describe a Meroxa Process Build"
        },
        {
          "name": "log",
          "aliases": [
            "logs"
          ],
          "description": "List a Meroxa Process Build's Logs"
        }
      ]
    },
    {
      "name": "completion",
      "description": "Generate completion script"
    },
    {
      "name": "cfg",
      "aliases": [
        "config"
      ],
      "description": "Manage your Meroxa CLI configuration",
      "subcommands": [
        {
          "name": "describe",
          "description": "Show Meroxa CLI configuration details"
        },
        {
          "name": "set",
          "description": "Update your Meroxa CLI configuration file with a specific key=value"
        }
      ]
    },
    {
      "name": "env",
      "aliases": [
        "environment",
        "environments"
      ],
      "description": "Manage environments on Meroxa",
      "subcommands": [
        {
          "name": "create",
          "description": "Create an environment",
          "options": [
            {
              "names": [
                "--config",
                "-c"
              ],
              "description": "Environment configuration based on type and provider (e.g.: --config aws_access_key_id=my_access_key --config aws_secret_access_key=my_access_secret)",
              "takes_arg": true,
              "arg": {
                "name": "config"
              }
            },
            {
              "names": [
                "--provider"
              ],
              "description": "Environment cloud provider to use",
              "takes_arg": true,
              "arg": {
                "name": "provider"
              }
            },
            {
              "names": [
                "--region"
              ],
              "description": "Environment region",
              "takes_arg": true,
              "arg": {
                "name": "region"
              }
            },
            {
              "names": [
                "--type"
              ],
              "description": "Environment type, when not specified",
              "takes_arg": true,
              "arg": {
                "name": "type"
              }
            },
            {
              "names": [
                "--yes",
                "-y"
              ],
              "description": "Skip confirmation prompt"
            }
          ]
        },
        {
          "name": "describe",
          "description": "Describe environment"
        },
        {
          "name": "ls",
          "aliases": [
            "list"
          ],
          "description": "List environments",
          "options": [
            {
              "names": [
                "--no-headers"
              ],
              "description": "Display output without headers"
            }
          ]
        },
        {
          "name": "rm",
          "aliases": [
            "delete",
            "remove"
          ],
          "description": "Remove environment",
          "options": [
            {
              "names": [
                "--force",
                "-f"
              ],
              "description": "Skip confirmation"
            }
          ]
        },
        {
          "name": "repair",
          "description": "Repair environment"
        },
        {
          "name": "update",
          "description": "Update an environment",
          "options": [
            {
              "names": [
                "--config",
                "-c"
              ],
              "description": "Updated environment configuration based on type and provider (e.g.: --config aws_access_key_id=my_access_key --config aws_secret_access_key=my_access_secret)",
              "takes_arg": true,
              "arg": {
                "name": "config"
              }
            },
            {
              "names": [
                "--name"
              ],
              "description": "Updated environment name, when specified",
              "takes_arg": true,
              "arg": {
                "name": "name"
              }
            },
            {
              "names": [
                "--yes",
                "-y"
              ],
              "description": "Skip confirmation prompt"
            }
          ]
        }
      ]
    },
    {
      "name": "login",
      "description": "Login or Sign up to the Meroxa Platform"
    },
    {
      "name": "logout",
      "description": "Clears local login credentials of the Meroxa Platform"
    },
    {
      "name": "open",
      "description": "Open in a web browser",
      "subcommands": [
        {
          "name": "billing",
          "description": "Open your billing page in a web browser"
        }
      ]
    },
    {
      "name": "resource",
      "aliases": [
        "resources"
      ],
      "description": "Manage resources on Meroxa",
      "subcommands": [
        {
          "name": "add",
          "aliases": [
            "create"
          ],
          "description": "Add a resource to your Meroxa resource catalog",
          "options": [
            {
              "names": [
                "--ca-cert"
              ],
              "description": "Trusted certificates for verifying resource",
              "takes_arg": true,
              "arg": {
                "name": "ca-cert"
              }
            },
            {
              "names": [
                "--client-cert"
              ],
              "description": "Client certificate for authenticating to the resource",
              "takes_arg": true,
              "arg": {
                "name": "client-cert"
              }
            },
            {
              "names": [
                "--client-key"
              ],
              "description": "Client private key for authenticating to the resource",
              "takes_arg": true,
              "arg": {
                "name": "client-key"
              }
            },
            {
              "names": [
                "--env"
              ],
              "description": "Environment (name or UUID) where resource will be created",
              "takes_arg": true,
              "arg": {
                "name": "env"
              }
            },
            {
              "names": [
                "--metadata",
                "-m"
              ],
              "description": "Resource metadata",
              "takes_arg": true,
              "arg": {
                "name": "metadata"
              }
            },
            {
              "names": [
                "--password"
              ],
              "description": "Password",
              "takes_arg": true,
              "arg": {
                "name": "password"
              }
            },
            {
              "names": [
                "--private-key-file"
              ],
              "description": "Path to private key file",
              "takes_arg": true,
              "arg": {
                "name": "private-key-file"
              }
            },
            {
              "names": [
                "--ssh-private-key"
              ],
              "description": "SSH tunneling private key",
              "takes_arg": true,
              "arg": {
                "name": "ssh-private-key"
              }
            },
            {
              "names": [
                "--ssh-url"
              ],
              "description": "SSH tunneling address",
              "takes_arg": true,
              "arg": {
                "name": "ssh-url"
              }
            },
            {
              "names": [
                "--ssl"
              ],
              "description": "Use SSL"
            },
            {
              "names": [
                "--token"
              ],
              "description": "API Token",
              "takes_arg": true,
              "arg": {
                "name": "token"
              }
            },
            {
              "names": [
                "--type"
              ],
              "description": "Resource type (required)",
              "takes_arg": true,
              "arg": {
                "name": "type"
              },
              "is_required": true
            },
            {
              "names": [
                "--url",
                "-u"
              ],
              "description": "Resource url",
              "takes_arg": true,
              "arg": {
                "name": "url"
              }
            },
            {
              "names": [
                "--username"
              ],
              "description": "Username",
              "takes_arg": true,
              "arg": {
                "name": "username"
              }
            }
          ]
        },
        {
          "name": "describe",
          "description": "Describe resource"
        },
        {
          "name": "ls",
          "aliases": [
            "list"
          ],
          "description": "List resources and resource types",
          "options": [
            {
              "names": [
                "--no-headers"
              ],
              "description": "Display output without headers"
            },
            {
              "names": [
                "--types"
              ],
              "description": "List resource types"
            }
          ]
        },
        {
          "name": "rm",
          "aliases": [
            "delete",
            "remove"
          ],
          "description": "Remove resource",
          "options": [
            {
              "names": [
                "--force",
                "-f"
              ],
              "description": "Skip confirmation"
            }
          ]
        },
        {
          "name": "rotate-tunnel-key",
          "description": "Rotate the tunnel key for a resource",
          "options": [
            {
              "names": [
                "--force",
                "-f"
              ],
              "description": "Skip confirmation"
            }
          ]
        },
        {
          "name": "update",
          "description": "Update a resource",
          "options": [
            {
              "names": [
                "--ca-cert"
              ],
              "description": "Trusted certificates for verifying resource",
              "takes_arg": true,
              "arg": {
                "name": "ca-cert"
              }
            },
            {
              "names": [
                "--client-cert"
              ],
              "description": "Client certificate for authenticating to the resource",
              "takes_arg": true,
              "arg": {
                "name": "client-cert"
              }
            },
            {
              "names": [
                "--client-key"
              ],
              "description": "Client private key for authenticating to the resource",
              "takes_arg": true,
              "arg": {
                "name": "client-key"
              }
            },
            {
              "names": [
                "--metadata",
                "-m"
              ],
              "description": "New resource metadata",
              "takes_arg": true,
              "arg": {
                "name": "metadata"
              }
            },
            {
              "names": [
                "--name"
              ],
              "description": "New resource name",
              "takes_arg": true,
              "arg": {
                "name": "name"
              }
            },
            {
              "names": [
                "--password"
              ],
              "description": "Password",
              "takes_arg": true,
              "arg": {
                "name": "password"
              }
            },
            {
              "names": [
                "--ssh-url"
              ],
              "description": "SSH tunneling address",
              "takes_arg": true,
              "arg": {
                "name": "ssh-url"
              }
            },
            {
              "names": [
                "--ssl"
              ],
              "description": "Use SSL"
            },
            {
              "names": [
                "--url",
                "-u"
              ],
              "description": "New resource url",
              "takes_arg": true,
              "arg": {
                "name": "url"
              }
            },
            {
              "names": [
                "--username"
              ],
              "description": "Username",
              "takes_arg": true,
              "arg": {
                "name": "username"
              }
            }
          ]
        },
        {
          "name": "validate",
          "description": "Validate a resource"
        }
      ]
    },
    {
      "name": "transform",
      "aliases": [
        "transforms"
      ],
      "description": "Manage transforms on Meroxa",
      "subcommands": [
        {
          "name": "ls",
          "aliases": [
            "list"
          ],
          "description": "List transforms",
          "options": [
            {
              "names": [
                "--no-headers"
              ],
              "description": "Display output without headers"
            }
          ]
        }
      ]
    },
    {
      "name": "version",
      "description": "Display the Meroxa CLI version"
    },
    {
      "name": "whoami",
      "description": "Display the current logged in user"
    },
    {
      "name": "help",
      "description": "Help about any command",
      "subcommands": [
        {
          "name": "accounts",
          "aliases": [
            "account"
          ],
          "description": "Manage Meroxa Accounts",
          "subcommands": [
            {
              "name": "ls",
              "aliases": [
                "list"
              ],
              "description": "List Meroxa Accounts"
            },
            {
              "name": "set",
              "description": "Set active account"
            }
          ]
        },
        {
          "name": "api",
          "description": "Invoke Meroxa API"
        },
        {
          "name": "app",
          "aliases": [
            "apps"
          ],
          "description": "Manage Turbine Data Applications",
          "subcommands": [
            {
              "name": "deploy",
              "description": "Deploy a Turbine Data Application"
            },
            {
              "name": "describe",
              "description": "Describe a Turbine Data Application"
            },
            {
              "name": "init",
              "description": "Initialize a Turbine Data Application"
            },
            {
              "name": "ls",
              "aliases": [
                "list"
              ],
              "description": "List Turbine Data Applications"
            },
            {
              "name": "log",
              "aliases": [
                "logs"
              ],
              "description": "View relevant logs to the state of the given Turbine Data Application"
            },
            {
              "name": "open",
              "description": "Open the link to a Turbine Data Application in the Dashboard"
            },
            {
              "name": "rm",
              "aliases": [
                "delete",
                "remove"
              ],
              "description": "Remove a Turbine Data Application"
            },
            {
              "name": "run",
              "description": "Execute a Turbine Data Application locally"
            },
            {
              "name": "upgrade",
              "description": "Upgrade a Turbine Data Application"
            }
          ]
        },
        {
          "name": "auth",
          "description": "Authentication commands for Meroxa",
          "subcommands": [
            {
              "name": "login",
              "description": "Login or Sign up to the Meroxa Platform"
            },
            {
              "name": "logout",
              "description": "Clears local login credentials of the Meroxa Platform"
            },
            {
              "name": "whoami",
              "description": "Display the current logged in user"
            }
          ]
        },
        {
          "name": "billing",
          "description": "Open your billing page in a web browser"
        },
        {
          "name": "build",
          "aliases": [
            "builds"
          ],
          "description": "Inspect Process Builds on Meroxa",
          "subcommands": [
            {
              "name": "describe",
              "description": "Describe a Meroxa Process Build"
            },
            {
              "name": "log",
              "aliases": [
                "logs"
              ],
              "description": "List a Meroxa Process Build's Logs"
            }
          ]
        },
        {
          "name": "completion",
          "description": "Generate completion script"
        },
        {
          "name": "cfg",
          "aliases": [
            "config"
          ],
          "description": "Manage your Meroxa CLI configuration",
          "subcommands": [
            {
              "name": "describe",
              "description": "Show Meroxa CLI configuration details"
            },
            {
              "name": "set",
              "description": "Update your Meroxa CLI configuration file with a specific key=value"
            }
          ]
        },
        {
          "name": "env",
          "aliases": [
            "environment",
            "environments"
          ],
          "description": "Manage environments on Meroxa",
          "subcommands": [
            {
              "name": "create",
              "description": "Create an environment"
            },
            {
              "name": "describe",
              "description": "Describe environment"
            },
            {
              "name": "ls",
              "aliases": [
                "list"
              ],
              "description": "List environments"
            },
            {
              "name": "rm",
              "aliases": [
                "delete",
                "remove"
              ],
              "description": "Remove environment"
            },
            {
              "name": "repair",
              "description": "Repair environment"
            },
            {
              "name": "update",
              "description": "Update an environment"
            }
          ]
        },
        {
          "name": "login",
          "description": "Login or Sign up to the Meroxa Platform"
        },
        {
          "name": "logout",
          "description": "Clears local login credentials of the Meroxa Platform"
        },
        {
          "name": "open",
          "description": "Open in a web browser",
          "subcommands": [
            {
              "name": "billing",
              "description": "Open your billing page in a web browser"
            }
          ]
        },
        {
          "name": "resource",
          "aliases": [
            "resources"
          ],
          "description": "Manage resources on Meroxa",
          "subcommands": [
            {
              "name": "add",
              "aliases": [
                "create"
              ],
              "description": "Add a resource to your Meroxa resource catalog"
            },
            {
              "name": "describe",
              "description": "Describe resource"
            },
            {
              "name": "ls",
              "aliases": [
                "list"
              ],
              "description": "List resources and resource types"
            },
            {
              "name": "rm",
              "aliases": [
                "delete",
                "remove"
              ],
              "description": "Remove resource"
            },
            {
              "name": "rotate-tunnel-key",
              "description": "Rotate the tunnel key for a resource"
            },
            {
              "name": "update",
              "description": "Update a resource"
            },
            {
              "name": "validate",
              "description": "Validate a resource"
            }
          ]
        },
        {
          "name": "transform",
          "aliases": [
            "transforms"
          ],
          "description": "Manage transforms on Meroxa",
          "subcommands": [
            {
              "name": "ls",
              "aliases": [
                "list"
              ],
              "description": "List transforms"
            }
          ]
        },
        {
          "name": "version",
          "description": "Display the Meroxa CLI version"
        },
        {
          "name": "whoami",
          "description": "Display the current logged in user"
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--cli-config-file"
      ],
      "description": "Meroxa configuration file",
      "takes_arg": true,
      "arg": {
        "name": "cli-config-file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--debug"
      ],
      "description": "Display any debugging information"
    },
    {
      "names": [
        "--json"
      ],
      "description": "Output json"
    },
    {
      "names": [
        "--timeout"
      ],
      "description": "Set the duration of the client timeout in seconds",
      "takes_arg": true,
      "arg": {
        "name": "timeout"
      }
    },
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Display help"
    }
  ]
}
