Class: Brut::CLI::Apps::BuildAssets
Defined Under Namespace
Classes: All, BaseCommand, Css, Images, Js
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
#accepts, #args_description, #argv, #delegate_to_command, #detailed_description, #env, #env_vars, #execute, #options, #opts, #puts, #stdin, #system!, #theme
Instance Method Details
#bootstrap? ⇒ Boolean
28
|
# File 'lib/brut/cli/apps/build_assets.rb', line 28
def bootstrap? = default_command.bootstrap?
|
#commands ⇒ Object
35
36
37
38
39
40
|
# File 'lib/brut/cli/apps/build_assets.rb', line 35
def commands = [
All.new,
Images.new,
Css.new,
Js.new,
]
|
#default_command ⇒ Object
25
26
27
|
# File 'lib/brut/cli/apps/build_assets.rb', line 25
def default_command
@default_command ||= All.new
end
|
#default_rack_env ⇒ Object
29
|
# File 'lib/brut/cli/apps/build_assets.rb', line 29
def default_rack_env = default_command.default_rack_env
|
#description ⇒ Object
7
|
# File 'lib/brut/cli/apps/build_assets.rb', line 7
def description = "Build and manage code and assets destined for the browser, such as CSS, JS, or images"
|
#name ⇒ Object
23
|
# File 'lib/brut/cli/apps/build_assets.rb', line 23
def name = "build-assets"
|
#run ⇒ Object
31
32
33
|
# File 'lib/brut/cli/apps/build_assets.rb', line 31
def run
delegate_to_command(default_command)
end
|