File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,20 @@ pip install git+https://github.com/ZhaoQi99/pyencrypt-pye.git
2121✨🍰✨
2222```
2323## Usage
24+
25+ ``` shell
26+ Usage: pyencrypt [OPTIONS] COMMAND [ARGS]...
27+
28+ Options:
29+ --version Show the version and exit.
30+ -h, --help Show this message and exit.
31+
32+ Commands:
33+ decrypt Decrypt encrypted pye file
34+ encrypt Encrypt your python code
35+ generate Generate loader file using specified key
36+ ```
37+
2438### Encrypt
2539``` shell
2640~ $ pyencrypt encrypt -h
@@ -46,6 +60,19 @@ Options:
4660 -k, --key TEXT Your encryption key. [required]
4761 -h, --help Show this message and exit.
4862```
63+ ### Generate
64+
65+ ``` shell
66+ ~ $ pyencrypt generate -h
67+ Usage: pyencrypt generate [OPTIONS]
68+
69+ Generate loader file using specified key
70+
71+ Options:
72+ -k, --key TEXT Your encryption key. [required]
73+ -h, --help Show this message and exit.
74+ ```
75+
4976## Example
5077### Encrypt
5178``` shell
Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ def decrypt_command(pathname, key):
153153 required = True ,
154154 help = 'Your encryption key.' ,
155155 type = click .STRING )
156+ @click .help_option ('-h' , '--help' )
156157@click .pass_context
157158def generate_loader (ctx , key ):
158159 """Generate loader file using specified key"""
You can’t perform that action at this time.
0 commit comments