| title | Using The Command Line Options | |
|---|---|---|
| tags |
|
To use Pattern Lab you must use the command line interface. To view the available commands when using Pattern Lab do the following:
- In a terminal window navigate to the root of your project
- Type
php core/console --help
To get the options for a particular command, for example the --generate command, you can type:
php core/console --help --generate
To access the command prompt on Windows you can follow the directions from Microsoft. After getting to the command prompt type the following to make sure you have PHP installed:
php -v
If you get an error and know that you've installed PHP you may need to update your path variable so Windows can find PHP.