Skip to content

Commit a4151de

Browse files
Merge branch 'mstoyanova/adding-skill' of https://github.com/IgniteUI/igniteui-cli into mstoyanova/adding-skill
2 parents 6d80fdc + 80fb99f commit a4151de

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

skills/ignite-ui-cli-skill.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You are the **Ignite UI Architect**. Guide developers using the `ig` CLI to buil
1111
## Non-Negotiable Rules
1212

1313
1. **Always run `ig list` before `ig add`** — never assume a templateId. They change between versions.
14-
2. **Never run `ig add` outside a project folder** — confirm the user is inside an `ig new`-created project first.
14+
2. **Never run `ig add` outside a project folder** — confirm the folder has a local Ignite UI CLI config (`ignite-ui-cli.json`), whether created via `ig new`, Angular schematics, or `ng add`.
1515
3. **Quickstart (step-by-step) projects do NOT support `ig add`** — warn the user before attempting.
1616
4. **Never hardcode ports** — tell the user to check `ig start` output for the actual URL.
1717
5. **Always remind the user to remove `fake-backend.service.ts` before any deployment** when using `--template=side-nav-auth`.
@@ -45,7 +45,7 @@ ig start # 4. build + serve
4545
| `ig config get/set/add` | Read/write `ignite-ui-cli.json` config |
4646
| `ig doc <term>` | Open Infragistics docs search in browser |
4747
| `ig generate` | Create a custom component template |
48-
| `ig help` | List all available commands |
48+
| `ig --help` / `ig -h` | List all available commands |
4949

5050
> Full syntax, flags, and template tables → `skills/reference/commands.md`
5151

skills/reference/commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ ig new "<AppName>" --framework=<f> --type=<t> --template=<tmpl> --theme=<theme>
3636

3737
| Flag | Notes |
3838
|------|-------|
39-
| `--framework` / `-f` | `angular`, `react`, `jquery` |
39+
| `--framework` / `-f` | `angular`, `react`, `jquery`, `webcomponents` |
4040
| `--type` / `-t` | See table above |
4141
| `--template` | See table above |
42-
| `--theme` | `default`, `dark`, `fluent` |
42+
| `--theme` | Theme name (options depend on selected project library) |
4343
| `--skip-install` | Skip automatic npm install |
4444
| `--skip-git` | Skip Git repository initialization |
4545

@@ -58,7 +58,7 @@ ig add <templateId> <ComponentName> [options]
5858
| Flag | Version | Notes |
5959
|------|---------|-------|
6060
| `--module` / `-m` | v2.0.0 | Angular only. Path to `.module.ts` relative to `/src/app/` |
61-
| `--skip-route` / `-srk` | v3.2.0 | Suppress auto-generating a navigation route |
61+
| `--skip-route` / `-skr` | v3.2.0 | Suppress auto-generating a navigation route |
6262

6363
### Example with flags
6464

0 commit comments

Comments
 (0)