From dfa99844da24a7bcfecdde8b304219e5ae998259 Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Thu, 26 May 2022 02:00:30 +0800 Subject: [PATCH] chore: update README.md --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e09d13d..5f13eaf 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@
  • Roadmap
  • @@ -82,6 +82,16 @@ If you want to generate PNG (which is the default option), you need to install [ See [releases](https://github.com/compose-viz/compose-viz/releases). +### Example + +`cpv -o .\examples\full-stack-node-app\compose-viz.png .\examples\full-stack-node-app\docker-compose.yml` + +And this is what the results look like: + +![compose-viz.png](https://github.com/compose-viz/compose-viz/blob/main/examples/full-stack-node-app/compose-viz.png) + +Check out the result [here](https://github.com/compose-viz/compose-viz/blob/main/examples/full-stack-node-app/compose-viz.png). + ### Usage `cpv [OPTIONS] INPUT_PATH` @@ -95,12 +105,6 @@ See [releases](https://github.com/compose-viz/compose-viz/releases). | `-v, --version` | Show the version of compose-viz. | | `--help` | Show help and exit. | -### Example - -`cpv -o .\examples\full-stack-node-app\compose-viz.png .\examples\full-stack-node-app\docker-compose.yml` - -[Here](https://github.com/compose-viz/compose-viz/blob/main/examples/full-stack-node-app/compose-viz.png) is the result. -

    (back to top)