inu

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 11 Imported by: 0

README

inu - use dogbin from your terminal

Use dogbin/hastebin from your cli

GoDoc

Installation:

Ensure you have Go installed, and run:

deletescape@nortia:~$ go get github.com/dogbin/inu

Usage:

deletescape@nortia:~$ inu help
NAME:
   inu - Use dogbin/hastebin right from your terminal

USAGE:
   inu [global options] command [command options] [arguments...]

VERSION:
   0.1.0

AUTHOR:
   Till Kottmann <me@deletescape.ch>

COMMANDS:
   put, up, p, u,   Create a new paste
   get, show, s     Obtains the contents of a paste
   help, h          Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --server value, -r value  The dogbin/hastebin server to use (default: "del.dog") [%DOGBIN_SERVER%] [~/.inu/server]
   --slug value, -s value    The slug to use instead of the server generated one [haste doesn't support this]
   --file value, -f value    A file to upload to dogbin
   --json, -j                Outputs the result as JSON
   --copy, -c                Additionally puts the created URL in your clipboard
   --help, -h                show help
   --version, -v             print the version

COPYRIGHT:
   (c) 2019 Till Kottmann

You can also simply pipe into the inu command like this:

deletescape@nortia:~$ echo "Awesome test for README" | inu
https://del.dog/nodabaqisa

Library use

To access dogbin in your Go app you can import the github.com/dogbin/inu/dogbin package. For now use this cli as a reference until a proper godoc exists.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package dogbin provides a simple go client library for dogbin and hastebin.
Package dogbin provides a simple go client library for dogbin and hastebin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL