Class: Redmine::Commands::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/redmine/commands/help.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/redmine/commands/help.rb', line 6

def execute
  puts <<~HELP
    Usage:
        redmine [options] <command>

    Where OPTIONS:
        -p --privileged - Run in privileged mode (required for occupying ports below 1024)

    Where COMMANDS:
        start - run redmine
        list  - inspect list of running instances
        show  - print information about specific instance
        shell - get shell into specific instance
        install_plugins <config> <destination folder> - for internal use
        logs  - start tailing logs
  HELP
end