Merge ~aieri/juju-lint:improve_readme into juju-lint:master

Proposed by Andrea Ieri
Status: Merged
Approved by: James Troup
Approved revision: f95be21b5fdc5c0cd91c1d1657de8336837398b6
Merged at revision: 2eeb194be8cf884214b0f2cabc156a6745362ecb
Proposed branch: ~aieri/juju-lint:improve_readme
Merge into: juju-lint:master
Prerequisite: ~aieri/juju-lint:bug/1939437
Diff against target: 22 lines (+11/-0)
1 file modified
README.md (+11/-0)
Reviewer Review Type Date Requested Status
Juju Lint maintainers Pending
Review via email: mp+415471@code.launchpad.net

Commit message

Improve the README by adding a full example

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Unable to determine commit message from repository - please click "Set commit message" and enter the commit message manually.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 2eeb194be8cf884214b0f2cabc156a6745362ecb

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/README.md b/README.md
2index faa3ef6..9058da9 100644
3--- a/README.md
4+++ b/README.md
5@@ -39,6 +39,17 @@ To use a different rules file:
6
7 For all other options, consult `juju-lint --help`
8
9+== Example ==
10+
11+A typical use case is linting an openstack cloud:
12+
13+ juju status -m openstack --format=json > juju-status.json
14+ juju export-bundle --include-charm-defaults -m openstack > bundle.yaml
15+ juju-lint -c /snap/juju-lint/current/contrib/openstack-focal-ovn.yaml \
16+ -t openstack juju-status.json
17+ juju-lint -c /snap/juju-lint/current/contrib/openstack-focal-ovn.yaml \
18+ -t openstack bundle.yaml
19+
20 == Rules File ==
21
22 For an example of a rules file, see `example-lint-rules.yaml`.

Subscribers

People subscribed via source and target branches