Document that you can read CLI config settings in the configuration reference.
This commit is contained in:
parent
f318e93764
commit
668a856c14
@ -64,6 +64,21 @@ Example:
|
||||
When using the compass command line, configuration options that you set on the
|
||||
command line will override the corresponding settings in your configuration file.
|
||||
|
||||
## Inspecting Configuration Settings passed via the Command Line
|
||||
|
||||
When using the compass command line, configuration options that you set on the
|
||||
command line can be inspected within the configuration file. For instance,
|
||||
if you set the environment:
|
||||
|
||||
$ compass compile -e production --force
|
||||
|
||||
Then you can inspect the value like so:
|
||||
|
||||
output_style = (environment == :production) ? :compressed : :expanded
|
||||
|
||||
Values that are not set on the CLI will be `nil` even though they will have a default value
|
||||
later on.
|
||||
|
||||
## Configuration Properties
|
||||
|
||||
<table>
|
||||
|
Loading…
Reference in New Issue
Block a user