Communicate with Hypo from the command-line
Find a file
Tom Willemse 26e5381fc4 Explicitly use bash, not sh
Some bash features were already being used, this just makes the
requirement a little more explicit.
2014-04-27 01:57:14 +02:00
COPYING Initial commit 2013-10-03 02:18:39 +02:00
hypo Explicitly use bash, not sh 2014-04-27 01:57:14 +02:00
README.org Make send accept input from another process 2014-04-27 01:56:14 +02:00

CLI companion for Hypo

hypo-cli is a command-line interface for communicating with Hypo. It helps ease some of the possible options when communicating with Hypo.

Installation

To install hypo-cli you could use sti, like so:

sti install git://ryuslash.org/hypo-cli.git

Alternatively you could also fetch the code manually (either using git or downloading a .tar.gz or .zip file).

git clone git://ryuslash.org/hypo-cli.git && cd sti
# Or
wget http://code.ryuslash.org/hypo-cli/snapshot/hypo-cli-master.tar.gz
tar xf hypo-cli-master.tar.gz && cd hypo-cli-master

After running either of these command sets you should put the hypo executable somewhere in your $PATH to be able to start using it.

Usage

hypo-cli offers the following commands:

help
The help command shows a list of available commands, and if the name of another command is specified will also show a little explanation about that command.
rm
Remove a file from hypo. It needs the hash of the file (as found in the URL) to remove.
scrot
Run scrot to take a screen shot and upload it to hypo. All arguments given are passed directly to scrot.
send
Upload a file to hypo. It can either accept output from another process, or it needs the name of a file as a first parameter.

License

hypo-cli is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

hypo-cli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with hypo-cli. If not, see <http://www.gnu.org/licenses/>.

See COPYING for more information.