Fix code highlighting

This commit is contained in:
Digital Studium
2023-07-23 15:55:12 +03:00
parent 7a3d0fc7bd
commit cdac09052a
19 changed files with 146 additions and 58 deletions

View File

@@ -47,7 +47,7 @@ my-cli-tool kernel
```
You will see output like this:
```plaintext
```
my-cli-tool kernel
Kernel version: 6.2.2-060202-generic
```
@@ -58,7 +58,7 @@ This will automatically generate a help page, which can be called using the `--h
my-cli-tool --help
```
You will get this output:
```plaintext
```
NAME
my-cli-tool - A CLI tool for getting system information about Linux server
@@ -104,7 +104,7 @@ Now we can type the following command:
my-cli-tool kernel --format short
```
Output:
```plaintext
```
6.2.2
```
This will also automatically update the help page, adding the `--format` flag and its possible values:
@@ -112,7 +112,7 @@ This will also automatically update the help page, adding the `--format` flag an
my-cli-tool kernel --help
```
Output:
```plaintext
```
NAME
my-cli-tool kernel - A method for getting kernel version

View File

@@ -47,7 +47,7 @@ Now you can run main.py file with the command:
python3 main.py
```
You will see this output:
```plaintext
```
200
{
"args": {