Skip to content

Commit 357e468

Browse files
committed
[CRYPTO]: update README.md
Signed-off-by: ashish <[email protected]>
1 parent 52f012b commit 357e468

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,26 @@ USAGE
2828
<!-- usagestop -->
2929
# Commands
3030
<!-- commands -->
31-
* [`cdt crypto [FILE]`](#cdt-crypto-file)
31+
* [`cdt crypto [STRING]`](#cdt-crypto-string)
3232
* [`cdt hash [STRING]`](#cdt-hash-string)
3333
* [`cdt help [COMMAND]`](#cdt-help-command)
3434

35-
## `cdt crypto [FILE]`
35+
## `cdt crypto [STRING]`
3636

37-
describe the command here
37+
Encryption and Decryption functionality
3838

3939
```
4040
USAGE
41-
$ cdt crypto [FILE]
41+
$ cdt crypto [STRING]
4242
4343
OPTIONS
44-
-f, --force
45-
-h, --help show CLI help
46-
-n, --name=name name to print
44+
-d, --decryption=decryption decryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]
45+
-e, --encryption=encryption encryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]
46+
-f, --file=file file to be encrypted/decrypted
47+
-h, --help show CLI help
48+
-k, --key=key key for encryption/decryption
49+
-m, --mode=mode Block Mode, Supported [CBC, CFB, CTR, OFB, ECB]
50+
-s, --string=string string to be encrypted/decrypted
4751
```
4852

4953
_See code: [src/commands/crypto.ts](https://github.com/codingtools/cdt/blob/v0.0.1/src/commands/crypto.ts)_

oclif.manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":"0.0.1","commands":{"crypto":{"id":"crypto","description":"Encryption and Decryption functionality","pluginName":"cdt","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"encryption":{"name":"encryption","type":"option","char":"e","description":"encryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]"},"decryption":{"name":"decryption","type":"option","char":"d","description":"decryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]"},"string":{"name":"string","type":"option","char":"s","description":"string to be encrypted/decrypted"},"file":{"name":"file","type":"option","char":"f","description":"file to be encrypted/decrypted"},"key":{"name":"key","type":"option","char":"k","description":"key for encryption/decryption"},"mode":{"name":"mode","type":"option","char":"m","description":"Block Mode, Supported [CBC, CFB, CTR, OFB, ECB]"}},"args":[{"name":"string"}]},"hash":{"id":"hash","description":"create hash for a string/file","pluginName":"cdt","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"type":{"name":"type","type":"option","char":"t","description":"type of hash [SHA1(default),MD5,SHA256,SHA512,RMD160]"},"string":{"name":"string","type":"option","char":"s","description":"string to be hashed"},"file":{"name":"file","type":"option","char":"f","description":"file to be hashed"}},"args":[{"name":"string"}]}}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"/npm-shrinkwrap.json",
4343
"/oclif.manifest.json"
4444
],
45-
"homepage": "https://github.com//cdt",
45+
"homepage": "https://github.com/codingtools/cdt",
4646
"keywords": [
4747
"cdt",
4848
"oclif"

0 commit comments

Comments
 (0)