No project description provided
Project description
xpipe_cli
CLI that takes advantage of the new XPipe 10 REST 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.7.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for xpipe_cli-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1011dea85f5e483865b88dfbdca1c196493a60c28ac9751dc1f31e99891d6d |
|
MD5 | 01a74f427030c4e319dad4f84fc5db46 |
|
BLAKE2b-256 | 655e7f06eb842617a7765f65c38e333299270f9b8e3704a6d42367b0f8569376 |