require 'clamp'
require 'creperie/commands'
require 'creperie/loader'

module Creperie
  class CLI < Commands::Base
    def execute
      request_help
    end

    subcommand 'new', 'Generate a new Crêpe application.', Commands::New

    if Loader.crepe_app?
      subcommand 'server', 'Start the Crêpe server.', Commands::Server
    end
  end
end

require 'clamp'
require 'creperie/commands'
require 'creperie/loader'

module Creperie
  class CLI < Commands::Base
    def execute
      request_help
    end

    subcommand 'new', 'Generate a new Crêpe application.', Commands::New

    if Loader.crepe_app?
      subcommand ['server', 's'], 'Start the Crêpe server.', Commands::Server
    end
  end
end

Add shortcut alias for 'server'
Add shortcut alias for 'server'

Signed-off-by: David Celis <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@davidcel.is>
