{
  "description": "List repositories, show build history or encrypt values with the travis gem. Login, tokens, enterprise setups and the other commands are left to the command line.",
  "name": "travis",
  "subcommands": [
    {
      "name": "repos",
      "description": "Lists repositories and whether they are active.",
      "options": [
        {
          "names": [
            "--match",
            "-m"
          ],
          "description": "Shell-style pattern such as owner/prefix-*.",
          "args": {
            "name": "match",
            "description": "Shell-style pattern such as owner/prefix-*.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--owner",
            "-o"
          ],
          "description": "Owner login",
          "args": {
            "name": "owner",
            "isOptional": false
          }
        },
        {
          "names": [
            "--name",
            "-n"
          ],
          "description": "Repository name",
          "args": {
            "name": "name",
            "isOptional": false
          }
        },
        {
          "names": [
            "--active",
            "-a"
          ],
          "description": "Only active"
        },
        {
          "names": [
            "--inactive",
            "-A"
          ],
          "description": "Only inactive"
        },
        {
          "names": [
            "--com"
          ],
          "description": "Use travis-ci.com"
        },
        {
          "names": [
            "--org"
          ],
          "description": "Use travis-ci.org"
        }
      ]
    },
    {
      "name": "history",
      "description": "Recent builds of the repository in the current git clone, or of --repo.",
      "options": [
        {
          "names": [
            "--repo",
            "-r"
          ],
          "description": "owner/name; detected from the current git clone when empty.",
          "args": {
            "name": "repo",
            "description": "owner/name; detected from the current git clone when empty.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--branch",
            "-b"
          ],
          "description": "Branch",
          "args": {
            "name": "branch",
            "isOptional": false
          }
        },
        {
          "names": [
            "--pull-request",
            "-p"
          ],
          "description": "Pull request number",
          "args": {
            "name": "pull_request",
            "isOptional": false
          }
        },
        {
          "names": [
            "--after",
            "-a"
          ],
          "description": "After build number",
          "args": {
            "name": "after",
            "isOptional": false
          }
        },
        {
          "names": [
            "--limit",
            "-l"
          ],
          "description": "Maximum items",
          "args": {
            "name": "limit",
            "isOptional": false
          }
        },
        {
          "names": [
            "--date",
            "-d"
          ],
          "description": "Include date"
        },
        {
          "names": [
            "--com"
          ],
          "description": "Use travis-ci.com"
        },
        {
          "names": [
            "--org"
          ],
          "description": "Use travis-ci.org"
        }
      ]
    },
    {
      "name": "encrypt",
      "description": "Encrypt an environment variable or other value for .travis.yml. Output is a secure: entry.",
      "options": [
        {
          "names": [
            "--repo",
            "-r"
          ],
          "description": "owner/name; detected from the current git clone when empty.",
          "args": {
            "name": "repo",
            "description": "owner/name; detected from the current git clone when empty.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--add",
            "-a"
          ],
          "description": "Writes the result into .travis.yml under env.global.",
          "isDangerous": true
        },
        {
          "names": [
            "--append",
            "-p"
          ],
          "description": "Append to existing values"
        },
        {
          "names": [
            "--override",
            "-x"
          ],
          "description": "Override existing value",
          "isDangerous": true
        },
        {
          "names": [
            "--com"
          ],
          "description": "Use travis-ci.com"
        },
        {
          "names": [
            "--org"
          ],
          "description": "Use travis-ci.org"
        }
      ],
      "args": [
        {
          "name": "value",
          "description": "For example FOO=bar.",
          "isOptional": true
        }
      ]
    }
  ]
}
