adaptlearning / adapt-cli

Command line and library interface for the Adapt Framework
https://community.adaptlearning.org/
24 stars 21 forks source link

CI script using CLI prompts for user input, causing builds to fail #181

Open kateharney opened 1 year ago

kateharney commented 1 year ago

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

Steps to reproduce

Tell us how to reproduce this issue.

  1. Specify the package version in the adapt.json file:

    Screen Shot 2022-12-06 at 1 28 34 PM
  2. 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".

Screen Shot 2022-12-06 at 1 28 27 PM

Screenshots (if you can)

Screen Shot 2022-12-06 at 1 35 30 PM