CLI that talks to the XPipe HTTP API
Project description
xpipe_cli
CLI that takes advantage of the new XPipe 10 API
Installation
Using pipx to install xpipe_cli in its own virtualenv is highly recommended.
python3 -m pip install pipx
python3 -m pipx install xpipe_cli
Usage examples
# See available actions
xpipe-cli --help
# List connections while filtering on the name
xpipe-cli ls --name 'shell environments/*'
# Probe connections (make sure they're connectable and get os info) using same filters
xpipe-cli probe --name 'shell environments/*'
# Run a local script file on a remote host
xpipe-cli run-script localfile.sh name-of-remote-host
# Execute a command on a remote host
xpipe-cli exec 'echo hello world' name-of-remote-host
# Pull a file from a remote host
xpipe-cli pull name-of-remote-host:/path/to/file localfile
# Push a file to a remote host
xpipe-cli push localfile name-of-remote-host:/path/to/file
All places where xpipe-cli accepts a local filename, it will also accept -
to read directly from stdin.
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
xpipe_cli-0.1.14.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file xpipe_cli-0.1.14.tar.gz
.
File metadata
- Download URL: xpipe_cli-0.1.14.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb84dd714f0d0a6e2d3e16d3526723a60deb9911da5de3b53e24b954d7af9f8 |
|
MD5 | 7abb80379dc0b384c04abfdd72b1b062 |
|
BLAKE2b-256 | 3a2ca6eb4351bbb5955ffc0f584342c709a902059a072a39783a997b98300f18 |
File details
Details for the file xpipe_cli-0.1.14-py3-none-any.whl
.
File metadata
- Download URL: xpipe_cli-0.1.14-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00c674b823c7422dbc1581ca0e52934d1559792d38dc6f7466f70326e3275926 |
|
MD5 | ee255e7f8261d9abcff6b2fdee0c41cd |
|
BLAKE2b-256 | 0236f616f15cfaffabaf6d0938f2da19b50cf6b8be8cdca8fb747e6ed5b45026 |