Ability to switch off interactive mode in juju

Bug #1865527 reported by Anastasia
6
This bug affects 1 person
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://discourse.jujucharms.com/t/cli-serialisable-output-formats/2490
 // Should fix this for Juju 3.0

Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR to revert regression in 'clouds' in develop: https://github.com/juju/juju/pull/11266

summary: - Ability to switch of interactive mode in juju
+ Ability to switch off interactive mode in juju
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.