Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 962 Bytes

File metadata and controls

22 lines (14 loc) · 962 Bytes
title Using The Command Line Options
tags
docs

To use Pattern Lab you must use the command line interface. To view the available commands when using Pattern Lab do the following:

  1. In a terminal window navigate to the root of your project
  2. 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

A Special Note About Windows

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.