Skip to content

Commit

Permalink
docs: move outputs before examples in command line like configuration…
Browse files Browse the repository at this point in the history
… section
  • Loading branch information
antonio-gg-dev committed Nov 12, 2023
1 parent 41ada02 commit 4d861c4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,15 @@ You can use `SIMPLE_OUTPUT` option in your [configuration](/configuration#output
to choose the default output display.

::: code-group
```bash [Example]
./bashunit ./tests --simple
```
```[Output]
........
```
```bash [Example]
./bashunit ./tests --simple
```
:::

::: code-group
```bash [Example]
./bashunit ./tests --verbose
```
```[Output]
Running tests/functional/logic_test.sh
✓ Passed: Other way of using the exit code
Expand All @@ -80,6 +77,9 @@ Running tests/functional/logic_test.sh
✓ Passed: Text should not contain
✓ Passed: Text should not match a regular expression
```
```bash [Example]
./bashunit ./tests --verbose
```
:::

## Stop on failure
Expand Down Expand Up @@ -116,12 +116,12 @@ Load a custom env file overriding the `.env` environment variables.
Displays the current version of **bashunit**.

::: code-group
```bash [Example]
./bashunit --version
```
```-vue [Output]
bashunit - {{ pkg.version }}
```
```bash [Example]
./bashunit --version
```
:::

## Help
Expand All @@ -131,9 +131,6 @@ bashunit - {{ pkg.version }}
Displays a help message with all allowed arguments and options.

::: code-group
```bash [Example]
./bashunit --help
```
```-vue [Output]
bashunit [arguments] [options]
Expand All @@ -146,6 +143,9 @@ Options:
[...]
```
```bash [Example]
./bashunit --help
```
:::

<script setup>
Expand Down

0 comments on commit 4d861c4

Please sign in to comment.