{
  "id": "fin",
  "name": "Docksal",
  "homepage": "https://docs.docksal.io",
  "description": "Unified, Docker powered web development environments for macOS, Windows, and Linux.",
  "icon": "https://docs.docksal.io/images/favicon.png",
  "executables": [
    "fin"
  ],
  "dotfiles": {
    "paths": [
      "~/.docksal/docksal.env",
      "~/.docksal/commands/"
    ],
    "exclude": [
      "~/.docksal/alias/",
      "~/.docksal/addons/",
      "~/.docksal/bin/",
      "~/.docksal/downloads/",
      "~/.docksal/machine/",
      "~/.docksal/stacks/"
    ],
    "secret": [
      "~/.docksal/certs/"
    ],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Docksal (fin)",
    "description": "Start and stop Docksal project services, read logs, and open a shell or run a command in the cli container.",
    "quality": "ai-draft",
    "base": "fig:fin",
    "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/fin.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "project",
          "start"
        ],
        "label": "Start project services",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/fin.ts",
            "license": "MIT"
          }
        ]
      },
      {
        "path": [
          "project",
          "stop"
        ],
        "label": "Stop project services",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/fin.ts",
            "license": "MIT"
          }
        ]
      },
      {
        "path": [
          "project",
          "status"
        ],
        "label": "List project services",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/fin.ts",
            "license": "MIT"
          }
        ]
      },
      {
        "path": [
          "logs"
        ],
        "label": "Show service logs",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/fin.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "service",
            "label": "Service",
            "type": "string",
            "position": 0,
            "suggestions": [
              {
                "value": "web",
                "label": "web"
              },
              {
                "value": "db",
                "label": "db"
              },
              {
                "value": "cli",
                "label": "cli"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "follow",
            "label": "Follow",
            "type": "boolean",
            "option": [
              "--follow",
              "-f"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "tail",
            "label": "Lines from end",
            "type": "string",
            "option": [
              "--tail"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "since",
            "label": "Since",
            "type": "string",
            "option": [
              "--since"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "timestamps",
            "label": "Timestamps",
            "type": "boolean",
            "option": [
              "--timestamps",
              "-t"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_color",
            "label": "Monochrome",
            "type": "boolean",
            "option": [
              "--no-color"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "follow",
            "label": "Follow logs",
            "set": {
              "follow": [
                true
              ],
              "tail": [
                "100"
              ]
            },
            "fields": [
              "service",
              "follow",
              "tail"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "service",
              "follow"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "tail",
              "since",
              "timestamps",
              "no_color"
            ]
          }
        ]
      },
      {
        "path": [
          "bash"
        ],
        "label": "Shell into a service",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/fin.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "service",
            "label": "Service (default cli)",
            "type": "string",
            "position": 0,
            "suggestions": [
              {
                "value": "cli",
                "label": "cli"
              },
              {
                "value": "web",
                "label": "web"
              },
              {
                "value": "db",
                "label": "db"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "bash",
            "label": "Open shell",
            "fields": [
              "service"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "service"
            ]
          }
        ]
      },
      {
        "path": [
          "exec"
        ],
        "label": "Run in cli container",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/fin.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "command",
            "label": "Command or script",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "exec",
            "label": "Execute",
            "fields": [
              "command"
            ],
            "required": [
              "command"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "command"
            ]
          }
        ]
      }
    ]
  }
}
