aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/sass-convert.fish
blob: db994243425599ef2c7e9675f33622f0e492a71e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Usage: sass-convert [options] [INPUT] [OUTPUT]

# Description:
#   Converts between CSS, indented syntax, and SCSS files. For example,
#   this can convert from the indented syntax to SCSS, or from CSS to
#   SCSS (adding appropriate nesting).

# Common Options:
#     -F, --from FORMAT                The format to convert from. Can be css, scss, sass.
#                                      By default, this is inferred from the input filename.
#                                      If there is none, defaults to css.
complete -c sass-convert -s F -l from -x -a "css scss sass" -A -d "The format to convert from. Can be css, scss, sass. By default, this is inferred from the input filename. If there is none, defaults to css."
#     -T, --to FORMAT                  The format to convert to. Can be scss or sass.
#                                      By default, this is inferred from the output filename.
#                                      If there is none, defaults to sass.
complete -c sass-convert -s T -l to -x -a "scss sass" -A -d "The format to convert to. Can be scss or sass. By default, this is inferred from the output filename. If there is none, defaults to sass."
#     -i, --in-place                   Convert a file to its own syntax.
#                                      This can be used to update some deprecated syntax.
complete -c sass-convert -s i -l in-place -d "Convert a file to its own syntax. This can be used to update some deprecated syntax."
#     -R, --recursive                  Convert all the files in a directory. Requires --from and --to.
complete -c sass-convert -s R -l recursive -d "Convert all the files in a directory. Requires --from and --to."
#     -?, -h, --help                   Show this help message.
complete -c sass-convert -s '?' -s h -l help -f -d "Show help message."
#     -v, --version                    Print the Sass version.
complete -c sass-convert -s v -l version -f -d "Print the Sass version."

# Style:
#         --dasherize                  Convert underscores to dashes.
complete -c sass-convert -l dasherize -d "Convert underscores to dashes."
#         --indent NUM                 How many spaces to use for each level of indentation. Defaults to 2.
#                                      "t" means use hard tabs.
complete -c sass-convert -l indent -x -d "How many spaces to use for each level of indentation. Defaults to 2. 't' means use hard tabs."
#         --old                        Output the old-style ":prop val" property syntax.
#                                      Only meaningful when generating Sass.
complete -c sass-convert -l old -d "Output the old-style ':prop val' property syntax. Only meaningful when generating Sass."

# Input and Output:
#     -s, --stdin                      Read input from standard input instead of an input file.
#                                      This is the default if no input file is specified. Requires --from.
complete -c sass-convert -s s -l stdin -d "Read input from standard input instead of an input file. This is the default if no input file is specified. Requires --from."
#     -E, --default-encoding ENCODING  Specify the default encoding for input files.
complete -c sass-convert -s E -l default-encoding -x -d "Specify the default encoding for input files."
#         --unix-newlines              Use Unix-style newlines in written files.
#                                      Always true on Unix.
complete -c sass-convert -l unix-newlines -d "Use Unix-style newlines in written files. Always true on Unix."

# Miscellaneous:
#         --cache-location PATH        The path to save parsed Sass files. Defaults to .sass-cache.
complete -c sass-convert -l cache-location -r -d "The path to save parsed Sass files. Defaults to .sass-cache."
#     -C, --no-cache                   Don't cache to sassc files.
complete -c sass-convert -s C -l no-cache -d "Don't cache to sassc files."
#         --trace                      Show a full Ruby stack trace on error
complete -c sass-convert -l trace -d "Show a full Ruby stack trace on error."