mirror of
https://git.digitalstudium.com/digitalstudium/digitalstudium.com
synced 2023-12-29 08:06:35 +00:00
Fix code highlighting
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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": {
|
||||
|
Reference in New Issue
Block a user