CHECKSELECTORSYNTAX
Check selector syntax with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Checks the syntax of a selector.Usage
(Checks the selector file syntax.)cm checkselectorsyntax | css --file=<selector_file>
cat <selector_file> | cm checkselectorsyntax | css -type <selector_file> | cm checkselectorsyntax | css -Options
Option / Argument | Description |
|---|---|
| --file | The file to read a selector from. |
Help
Remarks
This command reads a selector on either a file or standard input, and checks it for valid syntax. If the syntax check fails, the reason is printed on standard output.Examples
(Checks the syntax of 'myselector.txt' file.)cm checkselectorsyntax --file=myselector.txt
cat myselector.txt | cm checkselectorsyntax