lib/imgurr/command.rb
# Public: prints all the commands of boom.
#
# Returns nothing.
prints all the commands of boom.
Returns nothing.
prints all the commands of boom . Returns nothing .
def help
        text = '
          - imgurr: help ---------------------------------------------------
          imgurr --help                            This help text
          imgurr --version                         Print current version
          imgurr upload <image>                    Upload image and copy link to clipboard
          imgurr upload <image> [-m | --markdown]  Upload image and copy link to clipboard with markdown syntax
                                [-l | --html]      Upload image and copy link to clipboard with HTML syntax
                                [--size=SIZE]      Set image size ratio
                                [--tile="Title"]   Set image title
                                [--desc="Desc" ]   Set image description
          imgurr capture                           Capture a screenshot and upload it (OS X only)
          imgurr list                              List uploaded images
          imgurr info   <id>                       Print image information
          imgurr delete <id>                       Deletes an image from imgur if the deletehash is found locally
          imgurr delete <id> <deletehash>          Deletes an image from imgur with the provided deletehash
          all other documentation is located at:
          https://github.com/Chris911/imgurr
        '.gsub(/^ {8}/, '') 
        puts text
      end
def help text = '
          - imgurr: help ---------------------------------------------------

          imgurr --help                            This help text
          imgurr --version                         Print current version

          imgurr upload <image>                    Upload image and copy link to clipboard
          imgurr upload <image> [-m | --markdown]  Upload image and copy link to clipboard with markdown syntax
                                [-l | --html]      Upload image and copy link to clipboard with HTML syntax
                                [--size=SIZE]      Set image size ratio
                                [--tile="Title"]   Set image title
                                [--desc="Desc" ]   Set image description
          imgurr capture                           Capture a screenshot and upload it (OS X only)
          imgurr list                              List uploaded images
          imgurr info   <id>                       Print image information
          imgurr delete <id>                       Deletes an image from imgur if the deletehash is found locally
          imgurr delete <id> <deletehash>          Deletes an image from imgur with the provided deletehash

          all other documentation is located at:
          https://github.com/Chris911/imgurr
        ' . gsub ( / ^ {8} / , '' ) puts text end
Public: prints all the commands of boom.
Public : prints all the commands of boom .
# strip the first eight spaces of every line