~kota/pcf

A quality paste.cf style command line client.
bump version
add error message if missing environment variable
implement environment variable configuration

clone

read-only
https://git.sr.ht/~kota/pcf
read/write
git@git.sr.ht:~kota/pcf

You can also use your local clone with git send-email.

#pcf

A simple paste.cf command line client. Reads file(s) from STDIN or filename as argument, uploads to a paste.cf server, and prints the url(s) to STDOUT.

The PCFSERVER environment variable is used to declare server information. An example in your shellrc would be export PCFSERVER='https://paste.example.com:21/incoming'. The port and path are optional and will depend on how the pcf server you're using is configured.

#License

GPL3+ see LICENSE in this repo for more details.

#Build

Build dependencies

  • golang
  • make
  • sed
  • scdoc

make all

#Install

Optionally configure config.mk to specify a different install location. Defaults to /usr/local/

sudo make install

#Uninstall

sudo make uninstall

#Resources

Send patches and questions to ~kota/pcf@lists.sr.ht.

Bugs & todo here: ~kota/pcf