https://github.com/redhatqe/rosa-python-client
Wrapper for rosa cli
https://github.com/redhatqe/rosa-python-client
Last synced: 7 months ago
JSON representation
Wrapper for rosa cli
- Host: GitHub
- URL: https://github.com/redhatqe/rosa-python-client
- Owner: RedHatQE
- Created: 2023-04-17T08:50:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T08:21:20.000Z (8 months ago)
- Last Synced: 2025-05-05T09:36:36.086Z (8 months ago)
- Language: Python
- Size: 741 KB
- Stars: 0
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rosa-python-client
Pypi: [rosa-python-client](https://pypi.org/project/rosa-python-client/)
A utility to run ROSA commands in CLI
## Release new version
### requirements:
* Export GitHub token
```bash
export GITHUB_TOKEN=
```
* [release-it](https://github.com/release-it/release-it)
```bash
sudo npm install --global release-it
npm install --save-dev @release-it/bumper
```
Note: execute outside the repository directory (for example `~/`)
### usage:
* To create a new release, run:
```bash
git main
git pull
release-it # Follow the instructions
```
## Installation
From source using [poetry](https://github.com/python-poetry/poetry).
```
git clone https://github.com/RedHatQE/rosa-python-client.git
cd rosa-python-client
poetry install
```
From pypi:
```bash
pip install rosa-python-client --user
```
## Known Limitations:
Although rose cli support args with ` ` (space) when using this module we only accept arg=value
rosa cli accept: `rosa create cluster --cluster-name mycluster`
when called with this module the command should be: `rosa create cluster --cluster-name=mycluster`