Sha256: 6488e17574900c04a25fa185771ee011f0f83a2976fd3597fbceb5ad5abc65fe

Contents?: true

Size: 998 Bytes

Versions: 1

Compression:

Stored size: 998 Bytes

Contents

module Roll

  #
  class CommandHelp < Command

    #
    def setup
      op.banner = "USAGE:\n   roll <COMMAND> [--OPT1 --OPT2 ...]\n\n" +
                  "Use 'roll <COMMAND> --help' for command details."
      op.separator " "
      op.separator "COMMANDS:"
      op.separator "    in  [DIR] " + (" " * 23) + "Roll directory into current environment."
      op.separator "    out [DIR] " + (" " * 23) + "Remove directory from current environment."
      op.separator "    env       " + (" " * 23) + "Show current environment."
      op.separator "    index     " + (" " * 23) + "Show current environment index."
      op.separator "    sync      " + (" " * 23) + "Synchronize environment indexes."
      op.separator "    path      " + (" " * 23) + "Output bin PATH list."
      op.separator "    verify    " + (" " * 23) + "Verify project dependencies in current environment."
      op.separator " "
      op.separator "OPTIONS:"
    end

    #
    def call
      puts op
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roll-1.2.0 lib/roll/commands/help.rb