adapt-cli
adapt-cli copied to clipboard
CI script using CLI prompts for user input, causing builds to fail
Subject of the issue/enhancement/features
When specifying a version of a dependency in the adapt.json file, the CLI requires user input to continue with installation if there's a newer compatible version available than the one requested in the adapt.json.
Your environment
- version of the cli CLI: 3.0.7, Framework: 5.22.3
- operating system(s) MacOS Monterey 12.6.1
- CI GitHub Workflows runs on Ubuntu latest
Steps to reproduce
Tell us how to reproduce this issue.
-
Specify the package version in the adapt.json file:
-
When running
adapt install
the CLI prompts "There are newer compatible versions of the following plugins:" and user input is required to "skip".
Expected behaviour
The requested version is installed
adapt install
should have a flag to indicate that user input is not available
Actual behaviour
The CLI prompts "There are newer compatible versions of the following plugins:" and user input is required to "skip".
Screenshots (if you can)
