You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -319,12 +319,13 @@ specify init --here --force
319
319
320
320

321
321
322
-
In an interactive terminal, you will be prompted to select the coding agent integration you are using. In non-interactive sessions, such as CI or piped runs, `specify init` defaults to GitHub Copilot unless you pass `--integration`. You can also proactively specify the integration directly in the terminal:
322
+
In an interactive terminal, you will be prompted to select the coding agent integration you are using. In non-interactive sessions, such as CI or piped runs, `specify init` defaults to GitHub Copilot unless you pass `--integration` or the shorter `--ai` alias. You can also proactively specify the integration directly in the terminal:
|`--integration <key>`| AI coding agent integration to use (e.g. `copilot`, `claude`, `gemini`). See the [Integrations reference](integrations.md) for all available keys |
13
+
|`--integration <key>`| AI coding agent integration to use (e.g. `copilot`, `claude`, `gemini`). Equivalent to `--ai`; do not combine them. See the [Integrations reference](integrations.md) for all available keys |
14
+
|`--ai <key>`| Short alias for `--integration <key>`; do not combine with `--integration`|
14
15
|`--integration-options`| Options for the integration (e.g. `--integration-options="--commands-dir .myagent/cmds"`) |
15
16
|`--script sh\|ps`| Script type: `sh` (bash/zsh) or `ps` (PowerShell) |
16
17
|`--here`| Initialize in the current directory instead of creating a new one |
@@ -28,13 +29,14 @@ Creates a new Spec Kit project with the necessary directory structure, templates
28
29
29
30
Use `<project_name>` to create a new directory, or `--here` (or `.`) to initialize in the current directory. If the directory already has files, use `--force` to merge without confirmation.
30
31
31
-
When `--integration`is omitted, interactive terminals prompt you to choose an integration. Non-interactive sessions, such as CI or piped runs, default to GitHub Copilot; pass `--integration <key>` to choose a different integration explicitly.
32
+
When `--integration`and `--ai` are omitted, interactive terminals prompt you to choose an integration. Non-interactive sessions, such as CI or piped runs, default to GitHub Copilot; pass `--integration <key>`or the equivalent shorter `--ai <key>` alias to choose a different integration explicitly. The two options select the same integration setting and may not be combined in the same invocation.
"[bold]--ai[/bold] is deprecated and will no longer be available in version 0.10.0 or later.\n\n"
53
-
f"Use [bold]{replacement}[/bold] instead."
54
-
)
55
-
56
-
57
30
def_stdin_is_interactive() ->bool:
58
31
returnsys.stdin.isatty()
59
32
@@ -111,7 +84,7 @@ def init(
111
84
offline: bool=typer.Option(False, "--offline", help="Deprecated (no-op). All scaffolding now uses bundled assets.", hidden=True),
112
85
preset: str=typer.Option(None, "--preset", help="Install a preset during initialization (by preset ID)"),
113
86
branch_numbering: str=typer.Option(None, "--branch-numbering", help="Branch numbering strategy: 'sequential' (001, 002, …, 1000, … — expands past 999 automatically) or 'timestamp' (YYYYMMDD-HHMMSS)"),
114
-
integration: str=typer.Option(None, "--integration", help="Use the new integration system (e.g. --integration copilot). Mutually exclusive with --ai."),
87
+
integration: str=typer.Option(None, "--integration", help="Coding agent integration to use (e.g. --integration copilot). --ai is a short alias for this option; do not combine them."),
115
88
integration_options: str=typer.Option(None, "--integration-options", help='Options for the integration (e.g. --integration-options="--commands-dir .myagent/cmds")'),
116
89
):
117
90
"""
@@ -160,7 +133,6 @@ def init(
160
133
from ..integration_runtimeimportwith_integration_settingas_with_integration_setting
161
134
162
135
show_banner()
163
-
ai_deprecation_warning: str|None=None
164
136
165
137
ifai_assistantandai_assistant.startswith("--"):
166
138
console.print(f"[red]Error:[/red] Invalid value for --ai: '{ai_assistant}'")
0 commit comments