Ability to switch off interactive mode in juju
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
There needs to be the ability to switch off interactive mode in Juju , for example to support effective CI.
Previous approach introduced a regression in 'juju clouds' where the command, being read-only, started prompting the user for confirmation of whether client or controller copies of clouds are to be displayed.
Comment reaped out for reference:
// TODO (stickupkid): IsSerial states that its machine is serialisable, we
// shouldn't prompt in those situations. This is a general clean up of how
// we handle formatting directives the user has requested.
// The aim is to provide a more holistic approach at the CLI, rather than
// magic string checking.
// In an ideal world we would move this into MaybePrompt, but the changes
// may have unintended consequences without proper understanding.
// See: https:/
// Should fix this for Juju 3.0
summary: |
- Ability to switch of interactive mode in juju + Ability to switch off interactive mode in juju |
PR to revert regression in 'clouds' in develop: https:/ /github. com/juju/ juju/pull/ 11266