Skip to content

Commit 30eff61

Browse files
committed
docs: move usage section down
1 parent 1a59c66 commit 30eff61

1 file changed

Lines changed: 18 additions & 21 deletions

File tree

README.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,7 @@ A Conventional Commitlint binary tool (x for executable).
66

77
## Development
88

9-
10-
## Usage:
11-
```shell
12-
A Conventional Commitlint binary tool
13-
14-
Usage: cocox [OPTIONS] <MESSAGE|--file <FILE>|--hash <HASH>|--from-hash <FROM_HASH>>
15-
16-
Arguments:
17-
[MESSAGE]
18-
19-
Options:
20-
--file <FILE>
21-
--hash <HASH>
22-
--from-hash <FROM_HASH>
23-
--to-hash <TO_HASH> [default: HEAD]
24-
-h, --help Print help
25-
-V, --version Print version
26-
```
27-
28-
299
Run cocox
30-
3110
```shell
3211
cargo run -- "my commit message"
3312

@@ -44,3 +23,21 @@ cargo run -- --from-hash xxxx-xxxx --to-hash xxxx-xxxx
4423
cargo run -- --from-hash xxxx-xxxx
4524

4625
```
26+
27+
## Usage:
28+
```shell
29+
A Conventional Commitlint binary tool
30+
31+
Usage: cocox [OPTIONS] <MESSAGE|--file <FILE>|--hash <HASH>|--from-hash <FROM_HASH>>
32+
33+
Arguments:
34+
[MESSAGE]
35+
36+
Options:
37+
--file <FILE>
38+
--hash <HASH>
39+
--from-hash <FROM_HASH>
40+
--to-hash <TO_HASH> [default: HEAD]
41+
-h, --help Print help
42+
-V, --version Print version
43+
```

0 commit comments

Comments
 (0)