fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Dundar Göccompletions(sass): shorten descriptionscd5293777

master
3.5 KiB53 linesraw
1# Usage: sass-convert [options] [INPUT] [OUTPUT]
2
3# Description:
4#   Converts between CSS, indented syntax, and SCSS files. For example,
5#   this can convert from the indented syntax to SCSS, or from CSS to
6#   SCSS (adding appropriate nesting).
7
8# Common Options:
9#     -F, --from FORMAT                The format to convert from. Can be css, scss, sass.
10#                                      By default, this is inferred from the input filename.
11#                                      If there is none, defaults to css.
12complete -c sass-convert -s F -l from -x -a "css scss sass" -d "The format to convert from"
13#     -T, --to FORMAT                  The format to convert to. Can be scss or sass.
14#                                      By default, this is inferred from the output filename.
15#                                      If there is none, defaults to sass.
16complete -c sass-convert -s T -l to -x -a "scss sass" -d "The format to convert to"
17#     -i, --in-place                   Convert a file to its own syntax.
18#                                      This can be used to update some deprecated syntax.
19complete -c sass-convert -s i -l in-place -d "Convert a file to its own syntax"
20#     -R, --recursive                  Convert all the files in a directory. Requires --from and --to.
21complete -c sass-convert -s R -l recursive -d "Convert all the files in a directory"
22#     -?, -h, --help                   Show this help message.
23complete -c sass-convert -s '?' -s h -l help -f -d "Show help message"
24#     -v, --version                    Print the Sass version.
25complete -c sass-convert -s v -l version -f -d "Print the Sass version"
26
27# Style:
28#         --dasherize                  Convert underscores to dashes.
29complete -c sass-convert -l dasherize -d "Convert underscores to dashes"
30#         --indent NUM                 How many spaces to use for each level of indentation. Defaults to 2.
31#                                      "t" means use hard tabs.
32complete -c sass-convert -l indent -x -d "How many spaces to use for each level of indentation"
33#         --old                        Output the old-style ":prop val" property syntax.
34#                                      Only meaningful when generating Sass.
35complete -c sass-convert -l old -d "Output the old-style ':prop val' property syntax"
36
37# Input and Output:
38#     -s, --stdin                      Read input from standard input instead of an input file.
39#                                      This is the default if no input file is specified. Requires --from.
40complete -c sass-convert -s s -l stdin -d "Read input from standard input instead of an input file"
41#     -E, --default-encoding ENCODING  Specify the default encoding for input files.
42complete -c sass-convert -s E -l default-encoding -x -d "Specify the default encoding for input files"
43#         --unix-newlines              Use Unix-style newlines in written files.
44#                                      Always true on Unix.
45complete -c sass-convert -l unix-newlines -d "Use Unix-style newlines in written files"
46
47# Miscellaneous:
48#         --cache-location PATH        The path to save parsed Sass files. Defaults to .sass-cache.
49complete -c sass-convert -l cache-location -r -d "The path to save parsed Sass files"
50#     -C, --no-cache                   Don't cache to sassc files.
51complete -c sass-convert -s C -l no-cache -d "Don't cache to sassc files"
52#         --trace                      Show a full Ruby stack trace on error
53complete -c sass-convert -l trace -d "Show a full Ruby stack trace on error"