Sha256: 71cffde4304cbf9735fd230fda91d688e70e451b4317a23ae62f6b20408d0a39
Contents?: true
Size: 1.01 KB
Versions: 9
Compression:
Stored size: 1.01 KB
Contents
require 'thor' require 'require_all' require_relative '../lanes' require_relative 'command' require_relative 'command/named_command' require_rel 'command/*.rb' module Lanes # This is the main interface to Lanes that is called by the command # `bin/lanes`. Do not put any logic in here, create a class and delegate # instead. class CLI < Thor register Command::App, 'new', 'new [NAME]', 'Creates a new Lanes based application' desc "generate SUBCOMMAND ...ARGS", "Generate a component" subcommand "generate", Command::Generate desc "update SUBCOMMAND ...ARGS", "Update a component" subcommand "update", Command::Update long_desc Command.usage_from_file("server") register Command::Server, 'serve', 'serve', 'Run the app in development/testing mode' long_desc Command.usage_from_file("db") register Command::Db, 'db', 'db', 'Database commands' register Command::Console, "console", "console", "Start IRB console" end end
Version data entries
9 entries across 9 versions & 1 rubygems