@microsoft/managed-apps-cli
v0.22.0
Published
Command-line interface for building and managing Microsoft Managed Apps
Readme
@microsoft/managed-apps-cli
Command-line interface for Microsoft managed apps. Create, build, deploy, share, and manage apps and their data sources from your terminal.
Install
npm install -g @microsoft/managed-apps-cliRun commands with ms <command>.
Commands
ms app …— app lifecycle and configuration: create, clone platform-managed repositories, init, list, info (showis a deprecated alias), build, deploy, play (including branch or commit previews), dev, delete, share/unshare, share list, add data-source, refresh data-source (--offline), and settings.ms connector …— discover connector actions and functions in the environment.ms auth …— sign in/out and manage cached accounts (login, logout, status, switch).ms git auth …— establish the Entra↔GitHub identity mapping for external repos.ms telemetry …— enable, disable, or check CLI telemetry.
Run ms <command> --help for the options on any command.
ms app deploy guards git-backed deployments when the working tree has uncommitted changes or local main is ahead of origin/main. Interactive runs can confirm and continue; non-interactive runs must pass --force to bypass the guard.
Global options
| Option | Alias | Description |
| ------------------- | ----- | ------------------------------------------------------- |
| --cloud | | Cloud instance (e.g. prod, gccmoderate, gcchigh). |
| --environment-id | -e | Environment to connect to. |
| --non-interactive | | Run without prompts (all values must be supplied). |
| --json | | Format output as JSON. |
| --no-color | | Disable coloured output. |
Full documentation is available in the Microsoft managed apps documentation.
