UNPKG

@microsoft/teamsapp-cli

Version:

Teams Toolkit CLI is a text-based command line interface that can help scaffold, validate, and deploy applications for Microsoft Teams from the terminal or a CI/CD process.

23 lines (19 loc) 545 B
#!/usr/bin/env node // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. const chalk = require("chalk"); process.on("uncaughtException", (err) => { if (err.message.includes("async_hooks")) { console.error( chalk.redBright( "Teams Toolkit CLI requires to use node version higher than 14.x, please update your node version." ) ); } else { console.error(err); } process.exit(1); }); process.env.TEAMSFX_CLI_BIN_NAME = "teamsapp"; const cli = require("./lib"); cli.start("teamsapp");