Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/guide/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ Run `vp create --list` to see the built-in templates and the common shorthand te

- `--directory <dir>` writes the generated project into a specific target directory
- `--agent <name>` creates agent instructions files during scaffolding
- `--no-agent` skips agent instruction setup
- `--editor <name>` writes editor config files
- `--no-editor` skips editor config setup
- `--git` initialize a git repository
- `--no-git` skips git repository initialization
- `--hooks` enables pre-commit hook setup
- `--no-hooks` skips hook setup
- `--package-manager <name>` uses a specified package manager (`pnpm`, `npm`, `yarn`, or `bun`)
- `--no-interactive` runs without prompts
- `--verbose` shows detailed scaffolding output
- `--list` prints the available built-in and popular templates
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/snap-tests-global/command-create-help/snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Arguments:
Options:
--directory DIR Target directory for the generated project.
--agent NAME Write coding agent instructions to AGENTS.md, CLAUDE.md, etc.
--no-agent Skip writing coding agent instructions
--editor NAME Write editor config files for the specified editor.
--no-editor Skip writing editor config files
--git Initialize a git repository with an initial commit
--no-git Skip git repository initialization
--hooks Set up pre-commit hooks (default in non-interactive mode)
Expand Down Expand Up @@ -79,7 +81,9 @@ Arguments:
Options:
--directory DIR Target directory for the generated project.
--agent NAME Write coding agent instructions to AGENTS.md, CLAUDE.md, etc.
--no-agent Skip writing coding agent instructions
--editor NAME Write editor config files for the specified editor.
--no-editor Skip writing editor config files
--git Initialize a git repository with an initial commit
--no-git Skip git repository initialization
--hooks Set up pre-commit hooks (default in non-interactive mode)
Expand Down Expand Up @@ -142,7 +146,9 @@ Arguments:
Options:
--directory DIR Target directory for the generated project.
--agent NAME Write coding agent instructions to AGENTS.md, CLAUDE.md, etc.
--no-agent Skip writing coding agent instructions
--editor NAME Write editor config files for the specified editor.
--no-editor Skip writing editor config files
--git Initialize a git repository with an initial commit
--no-git Skip git repository initialization
--hooks Set up pre-commit hooks (default in non-interactive mode)
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/snap-tests-global/new-check/snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Arguments:
Options:
--directory DIR Target directory for the generated project.
--agent NAME Write coding agent instructions to AGENTS.md, CLAUDE.md, etc.
--no-agent Skip writing coding agent instructions
--editor NAME Write editor config files for the specified editor.
--no-editor Skip writing editor config files
--git Initialize a git repository with an initial commit
--no-git Skip git repository initialization
--hooks Set up pre-commit hooks (default in non-interactive mode)
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/src/create/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@ const helpMessage = renderCliDoc({
label: '--agent NAME',
description: 'Write coding agent instructions to AGENTS.md, CLAUDE.md, etc.',
},
{ label: '--no-agent', description: 'Skip writing coding agent instructions' },
{
label: '--editor NAME',
description: 'Write editor config files for the specified editor.',
},
{ label: '--no-editor', description: 'Skip writing editor config files' },
{ label: '--git', description: 'Initialize a git repository with an initial commit' },
{ label: '--no-git', description: 'Skip git repository initialization' },
{
Expand Down
Loading