{
  "commands": {
    "login": {
      "aliases": [],
      "args": {},
      "description": "Updates configuration and authenticates a user.\n\n  Configuration\n  \n  This command updates the following configuration files, which are located in the folder provided with --config-dir.\n  \n  - credentials\n  \n  The CLI never stores user passwords.\n  The Credentials file stores the following information:\n  \n  - Showpad admin username: When provided during interactive mode \n  - Showpad admin password: When provided during interactive mode \n  - OAuth client id: When provided during interactive mode \n  - OAuth client secret: When provided during interactive mode \n  - Showpad subdomain: When provided during interactive mode\n  - Showpad refresh token: Retrieved during the authorization flow \n  - Showpad access token: Retrieved during the authorization flow \n\n The login command facilitates user authentication in the Showpad instance through the use of the following variables:\n\n  - Showpad admin username: The username of the Showpad administrator for whom tokens will be generated.\n  - Showpad admin password: The password required to initiate the Oauth user credentials flow.\n  - OAuth client id: Necessary for initiating both the Oauth user credentials flow and subsequent refresh token flow.\n  - OAuth client secret: Required for initiating the Oauth user credentials flow and subsequent refresh token flow.\n  - Showpad subdomain: The subdomain associated with the Showpad instance.\n\n  These variables can be supplied either interactively during command execution (interactive mode) or retrieved from environment variables:\n\n  SHOWPAD_ADMIN_USERNAME\n  SHOWPAD_ADMIN_PASSWORD\n  SHOWPAD_CLIENT_ID\n  SHOWPAD_CLIENT_SECRET\n  SHOWPAD_SUBDOMAIN\n\n  Flow\n\n  1. The command checks for the presence of a config file. If the file does not exist, the command creates it.\n  2. The command checks if any environment variables are set. If set, it retrieves the values from the environment variables, skipping the corresponding prompts during interactive mode.\n  3. The login command initiates the Oauth user credentials flow, storing the access token and refresh token in the configuration file upon successful completion. As long as the tokens remain valid, the user is not required to execute\n  the login command again.",
      "examples": [
        "<%= config.bin %> <%= command.id %>"
      ],
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "password": {
          "char": "p",
          "description": "the password to use for token generation",
          "name": "password",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "login",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "login.js"
      ]
    },
    "apps:assign": {
      "aliases": [],
      "args": {},
      "description": "Assigns a specific version of your app to one or more Showpad organizations.",
      "examples": [
        "<%= config.bin %> <%= command.id %> --partner-code 91dd4290-369e-488e-80df-634d6cb090a6",
        "<%= config.bin %> <%= command.id %> --partner-code 91dd4290-369e-488e-80df-634d6cb090a6 --app-version-id 01ARZ3NDEKTSV4RRFFQ69G5FAV"
      ],
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "partner-code": {
          "char": "p",
          "description": "partner code to assign the app version to",
          "name": "partner-code",
          "required": true,
          "hasDynamicHelp": false,
          "multiple": true,
          "type": "option"
        },
        "app-version-id": {
          "description": "id of an uploaded app version",
          "name": "app-version-id",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps:assign",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "assign.js"
      ]
    },
    "apps:bundle": {
      "aliases": [],
      "args": {},
      "description": "Creates a .showpad bundle for your app.",
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "source-dir": {
          "char": "s",
          "description": "specifies the directory containing the app files to bundle. Default: the current directory",
          "name": "source-dir",
          "required": false,
          "default": ".",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "output-dir": {
          "char": "o",
          "description": "specifies the directory where the app bundle is written to. Default: the current directory",
          "name": "output-dir",
          "required": false,
          "default": ".",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "skip-validation": {
          "description": "define if the validation of the data to bundle should be skipped.",
          "name": "skip-validation",
          "required": false,
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps:bundle",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "bundle.js"
      ]
    },
    "apps": {
      "aliases": [],
      "args": {},
      "description": "Showing all command available to manage apps.",
      "examples": [
        "<%= config.bin %> <%= command.id %>"
      ],
      "flags": {},
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "index.js"
      ]
    },
    "apps:list": {
      "aliases": [],
      "args": {},
      "description": "Retrieves a list of all uploaded apps.",
      "examples": [
        "<%= config.bin %> <%= command.id %>"
      ],
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "columns": {
          "description": "only show provided columns (comma-separated)",
          "exclusive": [
            "extended"
          ],
          "name": "columns",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "csv": {
          "description": "output is csv format [alias: --output=csv]",
          "exclusive": [
            "no-truncate"
          ],
          "name": "csv",
          "allowNo": false,
          "type": "boolean"
        },
        "extended": {
          "char": "x",
          "description": "show extra columns",
          "exclusive": [
            "columns"
          ],
          "name": "extended",
          "allowNo": false,
          "type": "boolean"
        },
        "filter": {
          "description": "filter property by partial string matching, ex: name=foo",
          "name": "filter",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-header": {
          "description": "hide table header from output",
          "exclusive": [
            "csv"
          ],
          "name": "no-header",
          "allowNo": false,
          "type": "boolean"
        },
        "no-truncate": {
          "description": "do not truncate output to fit screen",
          "exclusive": [
            "csv"
          ],
          "name": "no-truncate",
          "allowNo": false,
          "type": "boolean"
        },
        "output": {
          "description": "output in a more machine friendly format",
          "exclusive": [
            "no-truncate",
            "csv"
          ],
          "name": "output",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "csv",
            "json",
            "yaml"
          ],
          "type": "option"
        },
        "sort": {
          "description": "property to sort by (prepend '-' for descending)",
          "name": "sort",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps:list",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "list.js"
      ]
    },
    "apps:status": {
      "aliases": [],
      "args": {},
      "description": "Provides real-time insights into your uploaded apps.",
      "examples": [
        "<%= config.bin %> <%= command.id %> --upload-id 01HH46DZCEGRRKDBVTF1E2SBCX",
        "<%= config.bin %> <%= command.id %> --app-id 01ARZ3NDEKTSV4RRFFQ69G5FAV"
      ],
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "columns": {
          "description": "only show provided columns (comma-separated)",
          "exclusive": [
            "extended"
          ],
          "name": "columns",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "csv": {
          "description": "output is csv format [alias: --output=csv]",
          "exclusive": [
            "no-truncate"
          ],
          "name": "csv",
          "allowNo": false,
          "type": "boolean"
        },
        "extended": {
          "char": "x",
          "description": "show extra columns",
          "exclusive": [
            "columns"
          ],
          "name": "extended",
          "allowNo": false,
          "type": "boolean"
        },
        "filter": {
          "description": "filter property by partial string matching, ex: name=foo",
          "name": "filter",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-header": {
          "description": "hide table header from output",
          "exclusive": [
            "csv"
          ],
          "name": "no-header",
          "allowNo": false,
          "type": "boolean"
        },
        "no-truncate": {
          "description": "do not truncate output to fit screen",
          "exclusive": [
            "csv"
          ],
          "name": "no-truncate",
          "allowNo": false,
          "type": "boolean"
        },
        "output": {
          "description": "output in a more machine friendly format",
          "exclusive": [
            "no-truncate",
            "csv"
          ],
          "name": "output",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "csv",
            "json",
            "yaml"
          ],
          "type": "option"
        },
        "sort": {
          "description": "property to sort by (prepend '-' for descending)",
          "name": "sort",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "app-id": {
          "description": "The ID of the app.",
          "name": "app-id",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "upload-id": {
          "description": "The ID of the upload.",
          "name": "upload-id",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps:status",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "status.js"
      ]
    },
    "apps:unassign": {
      "aliases": [],
      "args": {},
      "description": "Unassigns an app version from one or more Showpad organizations.",
      "examples": [
        "<%= config.bin %> <%= command.id %> --partner-code 91dd4290-369e-488e-80df-634d6cb090a6",
        "<%= config.bin %> <%= command.id %> --partner-code 91dd4290-369e-488e-80df-634d6cb090a6 --app-version-id 01ARZ3NDEKTSV4RRFFQ69G5FAV"
      ],
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "partner-code": {
          "char": "p",
          "description": "partner code to unassign the app version from",
          "name": "partner-code",
          "required": true,
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "app-version-id": {
          "description": "id of an uploaded app version",
          "name": "app-version-id",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps:unassign",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "unassign.js"
      ]
    },
    "apps:upload": {
      "aliases": [],
      "args": {
        "filePath": {
          "description": "the path to the app bundle file",
          "name": "filePath",
          "required": true
        }
      },
      "description": "Uploads an app to Showpad.",
      "examples": [
        "<%= config.bin %> <%= command.id %> ~/apps/my-app.showpad"
      ],
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "skip-validation": {
          "description": "define if the validation of the bundle to upload should be skipped",
          "name": "skip-validation",
          "required": false,
          "allowNo": false,
          "type": "boolean"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps:upload",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "upload.js"
      ]
    },
    "apps:versions": {
      "aliases": [],
      "args": {},
      "description": "Retrieves a comprehensive list of all available versions of uploaded apps.",
      "examples": [
        "<%= config.bin %> <%= command.id %>",
        "<%= config.bin %> <%= command.id %> --app-id 01ARZ3NDEKTSV4RRFFQ69G5FAV"
      ],
      "flags": {
        "config-dir": {
          "char": "c",
          "description": "path to the directory containing configuration files",
          "name": "config-dir",
          "default": "~/.config/showpad",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-input": {
          "description": "prevent the CLI from prompting for anything in interactive mode",
          "name": "no-input",
          "allowNo": false,
          "type": "boolean"
        },
        "verbose": {
          "description": "make command more verbose during execution",
          "name": "verbose",
          "allowNo": false,
          "type": "boolean"
        },
        "columns": {
          "description": "only show provided columns (comma-separated)",
          "exclusive": [
            "extended"
          ],
          "name": "columns",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "csv": {
          "description": "output is csv format [alias: --output=csv]",
          "exclusive": [
            "no-truncate"
          ],
          "name": "csv",
          "allowNo": false,
          "type": "boolean"
        },
        "extended": {
          "char": "x",
          "description": "show extra columns",
          "exclusive": [
            "columns"
          ],
          "name": "extended",
          "allowNo": false,
          "type": "boolean"
        },
        "filter": {
          "description": "filter property by partial string matching, ex: name=foo",
          "name": "filter",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "no-header": {
          "description": "hide table header from output",
          "exclusive": [
            "csv"
          ],
          "name": "no-header",
          "allowNo": false,
          "type": "boolean"
        },
        "no-truncate": {
          "description": "do not truncate output to fit screen",
          "exclusive": [
            "csv"
          ],
          "name": "no-truncate",
          "allowNo": false,
          "type": "boolean"
        },
        "output": {
          "description": "output in a more machine friendly format",
          "exclusive": [
            "no-truncate",
            "csv"
          ],
          "name": "output",
          "hasDynamicHelp": false,
          "multiple": false,
          "options": [
            "csv",
            "json",
            "yaml"
          ],
          "type": "option"
        },
        "sort": {
          "description": "property to sort by (prepend '-' for descending)",
          "name": "sort",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        },
        "app-id": {
          "description": "id of an app",
          "name": "app-id",
          "hasDynamicHelp": false,
          "multiple": false,
          "type": "option"
        }
      },
      "hasDynamicHelp": false,
      "hiddenAliases": [],
      "id": "apps:versions",
      "pluginAlias": "@showpad/cli",
      "pluginName": "@showpad/cli",
      "pluginType": "core",
      "strict": true,
      "enableJsonFlag": false,
      "isESM": false,
      "relativePath": [
        "dist",
        "commands",
        "apps",
        "versions.js"
      ]
    }
  },
  "version": "1.0.0"
}