there is no show-action command to learn how to use an action from the cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Ian Booth |
Bug Description
When looking at actions I can see the list with
juju actions percona-cluster
backup Full database backup
pause Pause the MySQL service.
resume Resume the MySQL service.
However, I can't figure out how to use an action just as backup in this case.
I'd like to have an option to show an action to get details about it.
juju show-action percona-cluster backup
description: Full database backup
params:
basedir:
type: string
default: "/opt/backups/
description: The base directory for backups
compress:
type: boolean
default: false
description: Whether or not to compress the backup
incremental:
type: boolean
default: false
description: Make an incremental database backup
Changed in juju-core: | |
milestone: | none → 2.0.0 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
Changed in juju: | |
milestone: | 2.0.1 → none |
Changed in juju: | |
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 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
+1 on this, it's currently not easy to show users the defaults from `actions.yaml` without dumping the whole file with `--schema --format json` and gripping with `jq`.