Skip to content

Commit 04f20ae

Browse files
committed
use right command for cli tool in the readme
1 parent 13d32a0 commit 04f20ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,21 +91,21 @@ This particular implementation provides an pip package that can be used by any P
9191
- To generate a new TypeID, run:
9292

9393
```console
94-
$ typeid new -p prefix
94+
$ python3 -m typeid.cli new -p prefix
9595
prefix_01h2xcejqtf2nbrexx3vqjhp41
9696
```
9797

9898
- To decode an existing TypeID into a UUID run:
9999

100100
```console
101-
$ typeid decode prefix_01h2xcejqtf2nbrexx3vqjhp41
101+
$ python3 -m typeid.cli decode prefix_01h2xcejqtf2nbrexx3vqjhp41
102102
type: prefix
103103
uuid: 0188bac7-4afa-78aa-bc3b-bd1eef28d881
104104
```
105105

106106
- And to encode an existing UUID into a TypeID run:
107107

108108
```console
109-
$ typeid encode 0188bac7-4afa-78aa-bc3b-bd1eef28d881 --prefix prefix
109+
$ python3 -m typeid.cli encode 0188bac7-4afa-78aa-bc3b-bd1eef28d881 --prefix prefix
110110
prefix_01h2xcejqtf2nbrexx3vqjhp41
111111
```

0 commit comments

Comments
 (0)