This is a CLI for square project
Project description
Square project:
Usage command line interface
setup: pip install square-cli
get all inventory from env_id=1: inventory.py –url=http://localhost:8000/api -e 1 –list
get all inventory from env_id=1 with hostvars: inventory.py –url=http://localhost:8000/api -e 1 –list –hostvars
get host inventory from env_id=1: inventory.py –url=http://localhost:8000/api -e 1 –host 729059-comp-disk-306
Also, we can use environment variables for send parameters to inventory.py: REST_API_URL=http://localhost:8000/api ENVIRONMENT_ID=1 INVENTORY_HOSTVARS=true INVENTORY_ALL=true LIST=true inventory.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file square-cli-1.1.1.tar.gz.
File metadata
- Download URL: square-cli-1.1.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09e89d324af49426208023bbcfc066151398cb257df1d879ef470b954798b8e3
|
|
| MD5 |
0c51790a589c92f6f749233259180b37
|
|
| BLAKE2b-256 |
cda80ddb06e0031e5d96b5363b12afd799b810f085c82ac74089b80efe973c14
|