{
  "id": "akamai-cli",
  "name": "Akamai CLI",
  "homepage": "https://techdocs.akamai.com/developer/docs/about-clis",
  "description": "Manage and configure Akamai from the Command Line.",
  "icon": "SimpleIcons:akamai",
  "executables": [
    "akamai"
  ],
  "dotfiles": {
    "paths": [
      "~/.akamai-cli/config"
    ],
    "exclude": [],
    "secret": [
      "~/.edgerc"
    ],
    "machine_lines": [
      {
        "file": "~/.akamai-cli/config",
        "match": {
          "prefix": [
            "last-upgrade-check"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Run Akamai CLI",
    "description": "Run an Akamai CLI command with the credentials file, section and account switch key chosen. The command and its arguments are entered as free text.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "readme",
        "kind": "manual",
        "url": "https://github.com/akamai/cli/blob/master/README.md",
        "revision": "master 2026-10",
        "evidence": "akamai [global flags] [command] [action] [arguments...]\n| `--edgerc` (string) | Alias `-e`. The location of your credentials file. The default is `$HOME/.edgerc`. |\n| `--section` (string) | Alias `-s`. A credential set's section name. The default is `default`. |\n| `--accountkey` (string) | Alias `--account-key`. An account switch key. |\n| `--proxy` (string) | Sets a proxy to use. |\nakamai list\nakamai install {package name or repository URL}\nakamai update {command}\n"
      }
    ],
    "field": [
      {
        "id": "edgerc",
        "label": "Credentials file",
        "type": "path",
        "option": [
          "--edgerc"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "readme"
        ]
      },
      {
        "id": "section",
        "label": "Credentials section",
        "type": "string",
        "option": [
          "--section"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "accountkey",
        "label": "Account switch key",
        "type": "string",
        "option": [
          "--accountkey"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "proxy",
        "label": "Proxy",
        "type": "url",
        "option": [
          "--proxy"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "command",
        "label": "Command and arguments",
        "description": "For example list, install property-manager or update.",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "readme"
        ]
      }
    ],
    "task": [
      {
        "id": "list",
        "label": "List commands",
        "fields": [
          "command",
          "edgerc",
          "section"
        ],
        "required": [
          "command"
        ],
        "set": {
          "command": [
            "list"
          ]
        }
      },
      {
        "id": "install",
        "label": "Install a package",
        "fields": [
          "command",
          "proxy"
        ],
        "required": [
          "command"
        ],
        "set": {
          "command": [
            "install"
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "command",
          "edgerc",
          "section"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "accountkey",
          "proxy"
        ]
      }
    ]
  }
}
