Sha256: 868201276e3ceed1c816b22862b325535aae114a4e44ccf1c625393ca3d9a31e

Contents?: true

Size: 1 KB

Versions: 12

Compression:

Stored size: 1 KB

Contents

module Lanes
    module Command

        class Generate < Thor

            long_desc Command.usage_from_file("generate_model")
            method_options( GenerateMigration::OPTIONS )
            register Command::GenerateMigration, 'migration', 'migration [NAME] ...FIELDS', 'Creates a new migration'
            long_desc Command.usage_from_file("generate_model")
            method_options( GenerateModel::OPTIONS )
            register Command::GenerateModel, 'model', 'model [NAME] ...FIELDS', 'Creates a new model'

            long_desc Command.usage_from_file("generate_screen")
            method_options( GenerateScreen::OPTIONS )
            register Command::GenerateScreen, 'screen', 'screen [NAME]', 'Creates a new Screen'

            long_desc Command.usage_from_file("generate_component")
            method_options( GenerateComponent::OPTIONS )
            register Command::GenerateComponent, 'component', 'component [NAME]', 'Creates a new Component to be shared between screens'

        end

    end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lanes-0.8.3 lib/lanes/command/generate.rb
lanes-0.8.2 lib/lanes/command/generate.rb
lanes-0.8.1 lib/lanes/command/generate.rb
lanes-0.8.0 lib/lanes/command/generate.rb
lanes-0.7.0 lib/lanes/command/generate.rb
lanes-0.6.1 lib/lanes/command/generate.rb
lanes-0.6.0 lib/lanes/command/generate.rb
lanes-0.5.6 lib/lanes/command/generate.rb
lanes-0.5.5 lib/lanes/command/generate.rb
lanes-0.5.0 lib/lanes/command/generate.rb
lanes-0.4.0 lib/lanes/command/generate.rb
lanes-0.3.0 lib/lanes/command/generate.rb