Skip to content
Todor Paskalev edited this page Mar 26, 2019 · 5 revisions

Introduced in Ignite UI CLI v1.3.0

ig list

The ig list lists all templates for the specified framework and type. When you run the command within a project folder it will list all templates for the project's framework and type, even if you provide different ones.

Arguments

framework

--framework (alias: -f) default value: "jquery"

Framework to setup the template for. Your custom template will be available only when creating a project in the respective framework. The supported frameworks are jQuery, Angular and React.

type

--type (alias: -t)

The available project types depend on the framework we are creating a custom template for. Currently, when generating a custom template for Angular projects, you can select between `ig-ts` and `igx-ts` types (the latter for applications that are configured to use Ignite UI for Angular). jQuery and React projects support a single type only - `js` for jQuery and `es6` for React. As those are default project types, you do not need to provide `--type` argument when generating custom templates for jQuery or React projects.

Listing all templates for specific framework

To list all templates for specific framework run list outside a project folder. Following are examples of how to use the list command:

Framework Code
jQuery ig list
Using aliases: ig l
jQuery is the default choice so you do not need to provide the "framework" and "type" arguments.
Angular ig list --framework=angular --type=igx-ts
Using aliases: ig l -f=angular -t=igx-ts
React ig list --framework=react --type=igr-es6
Using aliases: ig l -f=react -t=igr-es6
Angular Wrappers ig list --framework=angular --type=ig-ts
Using aliases: ig l -f=angular -t=ig-ts
React Wrappers ig list --framework=react --type=es6
Using aliases: ig l -f=react -t=es6

Listing all templates for specific project

To list all templates for specific project run list from the project folder:
ig list