Files
ok.sh/params.json

1 line
2.3 KiB
JSON

{"name":"Octokit.sh","tagline":"A GitHub API client library focused on interfacing with shell scripts","body":"# A GitHub API client library written in POSIX sh\r\n\r\n## Requirements\r\n\r\n* A POSIX environment (tested against Busybox v1.19.4)\r\n* curl (tested against 7.32.0)\r\n\r\n## Optional requirements\r\n\r\n* jq <http://stedolan.github.io/jq/> (tested against 1.3)\r\n If jq is not installed commands will output raw JSON; if jq is installed\r\n commands can be pretty-printed for use with other shell tools.\r\n\r\n## Setup\r\n\r\nAuthentication credentials are read from a ~/.netrc file with the following\r\nformat. Generate the token on GitHub under Account Settings -> Applications.\r\nRestrict permissions on that file with `chmod 600 ~/.netrc`!\r\n\r\n machine api.github.com\r\n login <username>\r\n password <token>\r\n\r\n## Configuration\r\n\r\nThe following environment variables may be set to customize octokit.sh.\r\n\r\n* OCTOKIT_SH_URL=https://api.github.com\r\n Base URL for GitHub or GitHub Enterprise.\r\n* OCTOKIT_SH_ACCEPT=application/vnd.github.v3+json\r\n The 'Accept' header to send with each request.\r\n* OCTOKIT_SH_JQ_BIN=jq\r\n The name of the jq binary, if installed.\r\n* OCTOKIT_SH_VERBOSE=0\r\n The debug logging verbosity level. Same as the verbose flag.\r\n* OCTOKIT_SH_RATE_LIMIT=0\r\n Output current GitHub rate limit information to stderr.\r\n* OCTOKIT_SH_DESTRUCTIVE=0\r\n Allow destructive operations without prompting for confirmation.\r\n\r\n## Usage\r\n\r\nUsage: `octokit.sh [<options>] (command [<name=value>...])`\r\n\r\nFull help output: `octokit.sh help`\r\nCommand-specific help: `octokit.sh help command`\r\n\r\nFlag | Description\r\n---- | -----------\r\n-V | Show version.\r\n-h | Show this screen.\r\n-j | Output raw JSON; don't process with jq.\r\n-q | Quiet; don't print to stdout.\r\n-r | Print current GitHub API rate limit to stderr.\r\n-v | Logging output; specify multiple times: info, debug, trace.\r\n-x | Enable xtrace debug logging.\r\n-y | Answer 'yes' to any prompts.\r\n\r\n## Available commands\r\n\r\nhelp, show_scopes, org_repos, org_teams, list_repos, create_repo, delete_repo, \r\nlist_releases, release, create_release, delete_release, release_assets, \r\nupload_asset","google":"UA-12716924-2","note":"Don't delete this file! It's used internally to help with page regeneration."}