Module: Ompload

Defined in:
lib/ompload.rb

Defined Under Namespace

Modules: CLI, Message, UploadsHandler Classes: ThrottledError

Constant Summary collapse

VERSION =
'1.0.2'
MAX_FILE_SIZE =
2**20
USAGE =
<<-USAGE.gsub(/^    /, '')
  Usage: ompload [-h|--help] [options] [file(s)]
    -q, --quiet     Only output errors and warnings
    -u, --url       Only output URLs
    -f, --filename  File name on omploader for when piping data via stdin
    -n, --no-clip   Disable copying of the URL to the clipboard
    -v, --version   Show version

    You can supply a list of files or data via stdin (or both)
USAGE