A simple CLI tool to interact with the FOaaS (Fuck Off as a Service) API made in an attempt to learn Go.
go get github.com/palash25/foaas-cli
Make sure that your GOPATH
and GOROOT
are set properly.
Every command starts with the app name and then the command followed by arguments and flags (if any)
There are 3 commands in total:
help
:foaas-cli help
version
:foaas-cli version
. This will return the version of the FOaaS APIfuck
:foaas-cli fuck [argument] [flags]
. The argument is the kind of fuck (the message) that you want the API to return and the flags substitute the values provided to them in the message returned by the API. For exampleHere$ foaas-cli fuck bucket --from Borat Gives the following output: Please choke on a bucket of cocks. - Borat
bucket
is the argument and from is theflag
withBorat
as its value.