Sha256: 6c5d761ab94c641f1ed44c20c6ed1ed2a222f3d9cdc2810c748018e82e493e1b

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

command :server do |c|
  c.syntax = 'helios server'
  c.summary = 'Start running Helios locally'

  c.action do |args, options|
    begin
      `foreman start`
    rescue => exception
      say_error exception.message and abort
    end
  end
end

alias_command :s, :server
alias_command :start, :server
alias_command :launch, :server

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
helios-0.1.1 ./lib/helios/commands/server.rb