Class: Brut::CLI::Apps::BuildAssets
Defined Under Namespace
Classes: All, Css, Images, Js
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
#accepts, #args_description, #argv, #commands, #default_command, #default_rack_env, #env, #env_vars, #execute, #options, #puts, #run, #stderr, #stdin, #stdout, #system!
Instance Method Details
#bootstrap? ⇒ Boolean
19
|
# File 'lib/brut/cli/apps/build_assets.rb', line 19
def bootstrap? = default_command.bootstrap?
|
#default_command_class ⇒ Object
18
|
# File 'lib/brut/cli/apps/build_assets.rb', line 18
def default_command_class = All
|
#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
16
|
# File 'lib/brut/cli/apps/build_assets.rb', line 16
def name = "build-assets"
|
#opts ⇒ Object
9
10
11
12
13
14
|
# File 'lib/brut/cli/apps/build_assets.rb', line 9
def opts = [
[
"--[no-]clean",
"If set, any old files from previous runs are deleted. If omitted, is false in production and true otherwise",
],
]
|