Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bostrt/getoc
https://github.com/bostrt/getoc
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bostrt/getoc
- Owner: bostrt
- License: mit
- Created: 2020-12-08T19:14:58.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-08T19:19:33.000Z (about 4 years ago)
- Last Synced: 2024-11-01T10:08:40.234Z (2 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Commands
```shell
$ getoc dl 4.1 # Gets latest 4.1
$ getoc dl 4.6.4
$ getoc dl stable-4.6
$ getoc dl latest-4.5$ getoc # Default behavior is to show prompt on downloading binaries
$ getoc switch # Switch your oc link to point to something else$ getoc stable-4.6 --include-kubectl
$ getoc usage # Displays disk usage summary of binaries
$ getoc clean # Removes all downloaded binaries from ~/.local/getoc/bin
```## Directories
- The `oc` binaries downloaded are stored in `~/.local/getoc/bin`
- `~/.local/getoc/bin` is automatically added to user's `$PATH`.## Development
```shell
$ git clone https://github.com/bostrt/getoc.git
$ cd getoc
$ virtualenv v
$ source v/bin/activate
$ pip install -e .
$ getoc -h
```