{
  "id": "aftman",
  "name": "Aftman",
  "homepage": "https://github.com/LPGhatguy/aftman",
  "description": "Aftman is a toolchain manager. It enables installing project-specific command line tools.",
  "executables": [
    "aftman"
  ],
  "dotfiles": {
    "paths": [
      "~/.aftman/aftman.toml"
    ],
    "exclude": [
      "~/.aftman/bin/",
      "~/.aftman/tool-storage/"
    ],
    "secret": [
      "~/.aftman/auth.toml"
    ],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Aftman commands",
    "description": "Manage project toolchains. self-install is left out.",
    "quality": "ai-draft",
    "base": "fig:aftman",
    "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/aftman.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "init"
        ],
        "label": "Create aftman.toml",
        "description": "Create a new aftman.toml manifest.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/aftman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "path",
            "label": "Folder",
            "description": "Defaults to the current directory.",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "directory",
              "role": "output",
              "must_exist": false
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "init",
            "label": "Initialize here",
            "fields": [
              "path"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "path"
            ]
          }
        ]
      },
      {
        "path": [
          "add"
        ],
        "label": "Add a tool",
        "description": "Add a tool to aftman.toml and install it.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/aftman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "tool",
            "label": "Tool",
            "description": "owner/repo, optionally with @version, for example rojo-rbx/rojo@7.4.1.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "alias",
            "label": "Alias",
            "description": "Name used to run the tool. Defaults to the repository name.",
            "type": "string",
            "position": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "global",
            "label": "Install globally",
            "type": "boolean",
            "option": [
              "--global"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "add",
            "label": "Add a tool",
            "fields": [
              "tool",
              "alias",
              "global"
            ],
            "required": [
              "tool"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "tool",
              "alias",
              "global"
            ]
          }
        ]
      },
      {
        "path": [
          "install"
        ],
        "label": "Install tools",
        "description": "Install every tool listed in the aftman.toml files above the current directory.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/aftman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "no_trust_check",
            "label": "Skip trust check",
            "description": "Installs tools even if they are not already trusted.",
            "type": "boolean",
            "option": [
              "--no-trust-check"
            ],
            "effect": "exec",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install all tools",
            "fields": [
              "no_trust_check"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "no_trust_check"
            ]
          }
        ]
      },
      {
        "path": [
          "trust"
        ],
        "label": "Trust a tool",
        "description": "Mark a tool as trusted so it can be installed without prompting.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/aftman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "tool",
            "label": "Tool",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "trust",
            "label": "Trust a tool",
            "fields": [
              "tool"
            ],
            "required": [
              "tool"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "tool"
            ]
          }
        ]
      }
    ]
  }
}
