juju should have a 'list-applications' command

Bug #1807506 reported by James Troup
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

juju should have a 'list-applications' command analogous to 'list-models'. (I realise I can parse it out of 'juju status' in the meantime)

Revision history for this message
Tim Penhey (thumper) wrote :

What would you like to see as the output for this?

Changed in juju:
status: New → Incomplete
Revision history for this message
James Troup (elmo) wrote : Re: [Bug 1807506] Re: juju should have a 'list-applications' command

Tim Penhey <email address hidden> writes:

> What would you like to see as the output for this?

A list of applications? Thank u, next.

The app table near the top of current 'juju status' output would be
totally fine.

My use case at the time was to do something like this:

  for app in $(juju list-applications | grep -vw ^App | awk '{print $1}'); do
    somethingmumblesomething $app;
  done

I guess I'm looking a) for consistency and b) trying to avoid
remembering:

 juju status --format=tabular | sed '0,/^App/d' | sed -e '/^$/,$d'

--
James

James Troup (elmo)
Changed in juju:
status: Incomplete → New
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.6-beta1
Changed in juju:
milestone: 2.6-beta1 → 2.6-beta2
Changed in juju:
milestone: 2.6-beta2 → 2.6-rc1
Changed in juju:
milestone: 2.6-rc1 → 2.6-rc2
Changed in juju:
milestone: 2.6-rc2 → 2.6.1
Changed in juju:
milestone: 2.6.1 → 2.6.2
Changed in juju:
milestone: 2.6.2 → 2.6.3
Changed in juju:
milestone: 2.6.3 → 2.6.4
Changed in juju:
milestone: 2.6.4 → 2.6.5
Changed in juju:
milestone: 2.6.5 → 2.6.6
Changed in juju:
milestone: 2.6.6 → 2.6.7
Changed in juju:
milestone: 2.6.7 → 2.7-beta1
Changed in juju:
milestone: 2.7-beta1 → 2.7-rc1
Revision history for this message
Richard Harding (rharding) wrote :

This came up in a discussion with folks today. They're doing HPC with hundreds of nodes and the status output is useless because of the number of units involved. Just have the applications/base status would be useful and a list-applications would be one path towards that.

Changed in juju:
milestone: 2.7-rc1 → none
tags: added: scalability usability
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.

Changed in juju:
importance: Medium → Low
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.