Module: Tipi::CLI
- Defined in:
- lib/tipi/cli.rb
Constant Summary collapse
- BANNER =
"\n" + " ooo\n" + " oo\n" + " o\n" + " \\|/ Tipi - a better web server for a better world\n" + " / \\ \n" + " / \\ https://github.com/digital-fabric/tipi\n" + "⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺\n"
Class Method Summary collapse
Class Method Details
.display_banner ⇒ Object
89 90 91 |
# File 'lib/tipi/cli.rb', line 89 def self. puts BANNER end |
.start(argv = ARGV.dup) ⇒ Object
82 83 84 85 86 87 |
# File 'lib/tipi/cli.rb', line 82 def self.start(argv = ARGV.dup) opts = Tipi.opts_from_argv(argv) if STDOUT.tty? && !opts[:silent] Tipi::Supervisor.run(opts) end |