{
  "id": "dotenv-vault",
  "name": "dotenv-vault",
  "description": "CLI for dotenv-vault, which syncs .env files securely.",
  "homepage": "https://www.dotenv.org",
  "executables": [
    "dotenv-vault"
  ],
  "commands": {
    "format": 1,
    "label": "dotenv-vault",
    "description": "Push and pull .env files for an environment.",
    "quality": "ai-draft",
    "base": "fig:dotenv-vault",
    "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/dotenv-vault.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "push"
        ],
        "label": "Push .env securely",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/dotenv-vault.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "environment",
            "label": "Environment",
            "type": "string",
            "position": 0,
            "suggestions": [
              {
                "value": "development",
                "label": "development"
              },
              {
                "value": "staging",
                "label": "staging"
              },
              {
                "value": "production",
                "label": "production"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "filename",
            "label": "Input filename",
            "type": "path",
            "path": {
              "kind": "file",
              "role": "input"
            },
            "position": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Assume yes to prompts",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "push",
            "label": "Push an environment",
            "fields": [
              "environment",
              "filename"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "environment",
              "filename",
              "yes"
            ]
          }
        ]
      },
      {
        "path": [
          "pull"
        ],
        "label": "Pull .env securely",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/dotenv-vault.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "environment",
            "label": "Environment",
            "type": "string",
            "position": 0,
            "suggestions": [
              {
                "value": "development",
                "label": "development"
              },
              {
                "value": "staging",
                "label": "staging"
              },
              {
                "value": "production",
                "label": "production"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "filename",
            "label": "Output filename",
            "type": "path",
            "path": {
              "kind": "file",
              "role": "output"
            },
            "position": 1,
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yes",
            "label": "Assume yes to prompts",
            "type": "boolean",
            "option": [
              "--yes",
              "-y"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "pull",
            "label": "Pull an environment",
            "fields": [
              "environment",
              "filename"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "environment",
              "filename",
              "yes"
            ]
          }
        ]
      }
    ]
  }
}
