Skip to content
Easily use dogbin from your terminal
Go Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Oct 21, 2019
dogbin
.gitignore
.golangci.yml
.travis.yml
LICENSE
README.md
go.mod
go.sum
main.go
test.sh Add codecov Oct 18, 2019

README.md

inu - use dogbin from your terminal

Use dogbin/hastebin from your cli

GoDoc Go Report Card Build Status Code Coverage

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.

You can’t perform that action at this time.