Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
fe1699f6
Commit
fe1699f6
authored
Oct 28, 2014
by
Andrew Nesbitt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #484 from kevva/indent
Tweak CLI output indentation
parents
0f62c181
27e4f086
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
cli.js
lib/cli.js
+22
-22
No files found.
lib/cli.js
View file @
fe1699f6
...
@@ -11,27 +11,27 @@ function init(args) {
...
@@ -11,27 +11,27 @@ function init(args) {
argv
:
args
,
argv
:
args
,
pkg
:
'../package.json'
,
pkg
:
'../package.json'
,
help
:
[
help
:
[
'
Usage'
,
'Usage'
,
'
node-sass [options] <input.scss> [output.css]'
,
' node-sass [options] <input.scss> [output.css]'
,
'
cat <input.scss> | node-sass > output.css'
,
' cat <input.scss> | node-sass > output.css'
,
''
,
''
,
'
Example'
,
'Example'
,
'
node-sass --output-style compressed foobar.scss foobar.css'
,
' node-sass --output-style compressed foobar.scss foobar.css'
,
'
cat foobar.scss | node-sass --output-style compressed > foobar.css'
,
' cat foobar.scss | node-sass --output-style compressed > foobar.css'
,
''
,
''
,
'
Options'
,
'Options'
,
'
-w, --watch Watch a directory or file'
,
' -w, --watch Watch a directory or file'
,
'
-o, --output Output CSS file'
,
' -o, --output Output CSS file'
,
'
-x, --omit-source-map-url Omit source map URL comment from output'
,
' -x, --omit-source-map-url Omit source map URL comment from output'
,
'
-i, --indented-syntax Treat data from stdin as sass code (versus scss)'
,
' -i, --indented-syntax Treat data from stdin as sass code (versus scss)'
,
'
--output-style CSS output style (nested|expanded|compact|compressed)'
,
' --output-style CSS output style (nested|expanded|compact|compressed)'
,
'
--source-comments Include debug info in output (none|normal|map)'
,
' --source-comments Include debug info in output (none|normal|map)'
,
'
--source-map Emit source map'
,
' --source-map Emit source map'
,
'
--include-path Path to look for imported files'
,
' --include-path Path to look for imported files'
,
'
--image-path Path to prepend when using the `image-url()` helper'
,
' --image-path Path to prepend when using the `image-url()` helper'
,
'
--precision The amount of precision allowed in decimal numbers'
,
' --precision The amount of precision allowed in decimal numbers'
,
'
--stdout Print the resulting CSS to stdout'
,
' --stdout Print the resulting CSS to stdout'
,
'
--help Print usage info'
' --help Print usage info'
].
join
(
'
\
n'
)
].
join
(
'
\
n'
)
},
{
},
{
boolean
:
[
boolean
:
[
...
@@ -147,9 +147,9 @@ module.exports = function(args) {
...
@@ -147,9 +147,9 @@ module.exports = function(args) {
console
.
error
([
console
.
error
([
'Provide a sass file to render'
,
'Provide a sass file to render'
,
''
,
''
,
'
Example'
,
'Example'
,
'
node-sass --output-style compressed foobar.scss foobar.css'
,
' node-sass --output-style compressed foobar.scss foobar.css'
,
'
cat foobar.scss | node-sass --output-style compressed > foobar.css'
' cat foobar.scss | node-sass --output-style compressed > foobar.css'
].
join
(
'
\
n'
));
].
join
(
'
\
n'
));
process
.
exit
(
1
);
process
.
exit
(
1
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment