Class: Brut::CLI::Apps::BuildAssets::BaseCommand
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
#accepts, #args_description, #argv, #commands, #delegate_to_command, #description, #detailed_description, #env, #env_vars, #execute, #name, #options, #puts, #run, #stdin, #system!, #theme
Instance Method Details
#bootstrap? ⇒ Boolean
10
|
# File 'lib/brut/cli/apps/build_assets.rb', line 10
def bootstrap? = false
|
#default_rack_env ⇒ Object
11
|
# File 'lib/brut/cli/apps/build_assets.rb', line 11
def default_rack_env = "development"
|
#friendly_name(file) ⇒ Object
18
19
20
|
# File 'lib/brut/cli/apps/build_assets.rb', line 18
def friendly_name(file)
Pathname(file).relative_path_from(Brut.container.project_root).to_s
end
|
#opts ⇒ Object
12
13
14
15
16
17
|
# File 'lib/brut/cli/apps/build_assets.rb', line 12
def opts = [
[
"--[no-]clean",
"If set, any old files from previous runs are deleted. Defaults to false in production, true everywhere else.",
],
]
|