{
  "id": "okta",
  "name": "Okta CLI",
  "homepage": "https://cli.okta.com",
  "description": "The Okta CLI is the easiest way to get started with Okta!",
  "icon": "SimpleIcons:okta",
  "executables": [
    "okta"
  ],
  "dotfiles": {
    "paths": [
      "~/.okta/okta.yaml"
    ],
    "exclude": [],
    "secret": [],
    "secret_paths": [
      {
        "file": "~/.okta/okta.yaml",
        "match": {
          "key_path": [
            "okta.client.token",
            "okta.client.privateKey",
            "okta.client.proxy.password"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Okta CLI",
    "description": "Create Okta apps and sample applications.",
    "quality": "ai-draft",
    "base": "fig:okta",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/okta.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "apps",
          "create"
        ],
        "label": "Create an Okta app",
        "description": "Create a new Okta app.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/okta.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "app_name",
            "label": "App name",
            "type": "string",
            "option": [
              "--app-name"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "redirect_uri",
            "label": "Redirect URI",
            "type": "url",
            "option": [
              "--redirect-uri"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "auth_server",
            "label": "Authorization server ID",
            "type": "string",
            "option": [
              "--authorization-server-id"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config_file",
            "label": "Config file",
            "type": "path",
            "option": [
              "--config-file"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create app",
            "fields": [
              "app_name",
              "redirect_uri"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "app_name",
              "redirect_uri",
              "auth_server",
              "config_file"
            ]
          }
        ]
      },
      {
        "path": [
          "start"
        ],
        "label": "Create a sample app",
        "description": "Create an Okta sample application.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/okta.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Sample name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Create sample",
            "fields": [
              "name"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name"
            ]
          }
        ]
      }
    ]
  }
}
