Describe the bug
The ATK for VSCode called out that a new version of the ATK CLI v1.1.5 contains a new command init that adds the project configuration when you set the envvar TEAMSFX_GENERATE_CONFIG_FILES to true.
But running the command atk init throws an error AND it isn't listed in the list of commands.
To Reproduce
Steps to reproduce the behavior:
- Ensure you have latest ATK installed, specifically v1.1.5
- Execute
atk init
- Observe Error
$ echo "$TEAMSFX_GENERATE_CONFIG_FILES"
true
$ atk -v
1.1.5
$ atk init
(✖) Error: TeamsfxCLI.UnknownCommandError: 'init' is misspelled or not
recognized by Microsoft 365 Agents Toolkit CLI. Use 'atk -h' for more
command information.
$ atk -h
Usage: atk [options]
Microsoft 365 Agents Toolkit CLI.
Options:
--version -v Display Microsoft 365 Agents Toolkit CLI version.
--help -h Show Microsoft 365 Agents Toolkit CLI help.
--interactive -i Run the command in interactive mode. Default value: true.
--debug Print debug information. Default value: false.
--verbose Print diagnostic information. Default value: false.
--telemetry Whether to enable telemetry. Default value: true.
Commands:
// .. omitted for brevity
env Manage environments.
help Show Microsoft 365 Agents Toolkit CLI help.
install [options] Upload a given application package across Microsoft 365.
launchinfo [options] Get launch information of an acquired M365 App.
// .. omitted for brevity
Expected behavior
No error
VS Code Extension Information (please complete the following information):
- OS: macOS v26.3.1
- ATK Extension: v6.6.0
CLI Information (please complete the following information):
- OS: macOS v26.3.1
- Version v1.1.5
Describe the bug
The ATK for VSCode called out that a new version of the ATK CLI v1.1.5 contains a new command
initthat adds the project configuration when you set the envvarTEAMSFX_GENERATE_CONFIG_FILESto true.But running the command
atk initthrows an error AND it isn't listed in the list of commands.To Reproduce
Steps to reproduce the behavior:
atk initExpected behavior
No error
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):