Skip to content

Commit

Permalink
Use console type for fenced snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
rliebz committed Apr 16, 2024
1 parent 6d12267 commit dd5a98e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ tasks:
As long as there is a `tusk.yml` file in the working or any parent directory,
tasks can be run:

```text
```console
$ tusk greet --name friend
Running: echo "Hello, friend!"
Hello, friend!
```

Help messages are dynamically generated based on the YAML configuration:

```text
```console
$ tusk --help
tusk - the modern task runner
Expand All @@ -127,7 +127,7 @@ Global Options:

Individual tasks have help messages as well:

```text
```console
$ tusk greet --help
tusk greet - Say hello to someone
Expand Down
7 changes: 4 additions & 3 deletions docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tasks:
The commands can be run with no additional configuration:
```text
```console
$ tusk hello
Running: echo "Hello, world!"
Hello, world!
Expand Down Expand Up @@ -393,7 +393,7 @@ tasks:
The task can be invoked as such:
```text
```console
$ tusk greet friend
Hello, friend!
```
Expand Down Expand Up @@ -720,7 +720,8 @@ tasks:

The example above will produce the following help documentation:

```text
```console
$ tusk --help
mycli - A custom aliased command-line application
Usage:
Expand Down

0 comments on commit dd5a98e

Please sign in to comment.