Class: Brut::CLI::Apps::Scaffold
Defined Under Namespace
Classes: Action, Component, CustomElementTest, DbModel, E2ETest, Form, Page, RoutesEditor, Test
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
#accepts, #args_description, #argv, #bootstrap?, #commands, #default_command, #default_command_class, #env, #env_vars, #execute, #name, #options, #puts, #run, #stderr, #stdin, #stdout, #system!
Instance Method Details
#default_rack_env ⇒ Object
11
|
# File 'lib/brut/cli/apps/scaffold.rb', line 11
def default_rack_env = "development"
|
#description ⇒ Object
5
|
# File 'lib/brut/cli/apps/scaffold.rb', line 5
def description = "Create scaffolds of various files to help develop more quckly"
|
#opts ⇒ Object
6
7
8
9
|
# File 'lib/brut/cli/apps/scaffold.rb', line 6
def opts = [
[ "--overwrite", "If set, any files that exists already will be overwritten by new scaffolds" ],
[ "--dry-run", "If set, no files are changed. You will see output of what would happen without this flag"],
]
|