Guacamole command line interface
Project description
A command line interface for https://github.com/Antojitos/guacamole
Tested with Python 2.7 and 3.4
Install
$ pip install guacamole-cli
Usage
Uploading a file
To upload a file you need to specify your Guacamole server URL and a filename, for example:
$ guacamole screenshot.jpg http://guacamole.antojitos.io/files/TRPm/0lkq/6egk/yHgg/OeDg/fVHr/screenshot.jpg
Command options
Use --help to show the command options:
$ guacamole --help
usage: guacamole [-h] [-c CONFIG_FILE] [-e ENDPOINT] filename
positional arguments:
filename file to upload
optional arguments:
-h, --help show this help message and exit
-c CONFIG_FILE, --config-file CONFIG_FILE
Specify a configuration file
-e ENDPOINT, --endpoint ENDPOINT
Guacamole endpoint URL
Configuration file
By default the command line interface looks for a configuration file in ~/.guacamole.conf. You can also specify an alternative configuration file using the --config-file command line option.
Here’s an example:
[general] endpoint = http://guacamole.antojitos.io/files/
Tests
In order to execute the test suite you need to run the next commands:
pip install -r requirements-dev.txt python tests/main.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
guacamole-cli-0.2.3.tar.gz
(3.0 kB
view details)
File details
Details for the file guacamole-cli-0.2.3.tar.gz.
File metadata
- Download URL: guacamole-cli-0.2.3.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fde8165c2ebf2a17e13f8eb47f40810c706a06a97fc9044737cce79f166d0033
|
|
| MD5 |
26b70ad0604921888e806ddb1c8be412
|
|
| BLAKE2b-256 |
2b93faeb2ab1769030ba932791984d6ed99d031b732a684831166f33e193358e
|