@@ -40,7 +40,7 @@ $ npm install -g @codingtools/cdt
40
40
$ cdt COMMAND
41
41
running command...
42
42
$ cdt (-v| --version| version)
43
- @codingtools/cdt/0.2 .0 darwin-x64 node-v12.9.0
43
+ @codingtools/cdt/0.3 .0 darwin-x64 node-v12.9.0
44
44
$ cdt --help [COMMAND]
45
45
USAGE
46
46
$ cdt COMMAND
57
57
* [ ` cdt hash [STRING] ` ] ( #cdt-hash-string )
58
58
* [ ` cdt help [COMMAND] ` ] ( #cdt-help-command )
59
59
* [ ` cdt minify [FILE] ` ] ( #cdt-minify-file )
60
+ * [ ` cdt view [FILE] ` ] ( #cdt-view-file )
60
61
61
62
## ` cdt autocomplete [SHELL] `
62
63
@@ -79,7 +80,7 @@ EXAMPLES
79
80
$ cdt autocomplete --refresh-cache
80
81
```
81
82
82
- _ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v0.1.4 /src/commands/autocomplete/index.ts ) _
83
+ _ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v0.1.5 /src/commands/autocomplete/index.ts ) _
83
84
84
85
## ` cdt avro [COMMAND] `
85
86
@@ -97,7 +98,7 @@ OPTIONS
97
98
-t, --schemaType=schemaType schema type file path
98
99
```
99
100
100
- _ See code: [ src/commands/avro.ts] ( https://github.com/codingtools/cdt/blob/v0.2 .0/src/commands/avro.ts ) _
101
+ _ See code: [ src/commands/avro.ts] ( https://github.com/codingtools/cdt/blob/v0.3 .0/src/commands/avro.ts ) _
101
102
102
103
## ` cdt bundlephobia [PACKAGE] `
103
104
@@ -113,7 +114,7 @@ OPTIONS
113
114
-p, --packages=packages packages for which cost is required, can pass more than one separated by space
114
115
```
115
116
116
- _ See code: [ src/commands/bundlephobia.ts] ( https://github.com/codingtools/cdt/blob/v0.2 .0/src/commands/bundlephobia.ts ) _
117
+ _ See code: [ src/commands/bundlephobia.ts] ( https://github.com/codingtools/cdt/blob/v0.3 .0/src/commands/bundlephobia.ts ) _
117
118
118
119
## ` cdt crypto [STRING] `
119
120
@@ -133,7 +134,7 @@ OPTIONS
133
134
-s, --string=string string to be encrypted/decrypted
134
135
```
135
136
136
- _ See code: [ src/commands/crypto.ts] ( https://github.com/codingtools/cdt/blob/v0.2 .0/src/commands/crypto.ts ) _
137
+ _ See code: [ src/commands/crypto.ts] ( https://github.com/codingtools/cdt/blob/v0.3 .0/src/commands/crypto.ts ) _
137
138
138
139
## ` cdt datetime [DATE] `
139
140
@@ -151,7 +152,7 @@ OPTIONS
151
152
-z, --timezone=timezone Timezone for Datetime parsing, default: Your timezone
152
153
```
153
154
154
- _ See code: [ src/commands/datetime.ts] ( https://github.com/codingtools/cdt/blob/v0.2 .0/src/commands/datetime.ts ) _
155
+ _ See code: [ src/commands/datetime.ts] ( https://github.com/codingtools/cdt/blob/v0.3 .0/src/commands/datetime.ts ) _
155
156
156
157
## ` cdt hash [STRING] `
157
158
@@ -169,7 +170,7 @@ OPTIONS
169
170
-t, --type=type type of hash [SHA1(default), MD5, SHA256, SHA512, RMD160 or RIPEMD160]
170
171
```
171
172
172
- _ See code: [ src/commands/hash.ts] ( https://github.com/codingtools/cdt/blob/v0.2 .0/src/commands/hash.ts ) _
173
+ _ See code: [ src/commands/hash.ts] ( https://github.com/codingtools/cdt/blob/v0.3 .0/src/commands/hash.ts ) _
173
174
174
175
## ` cdt help [COMMAND] `
175
176
@@ -186,7 +187,7 @@ OPTIONS
186
187
--all see all commands in CLI
187
188
```
188
189
189
- _ See code: [ @oclif/plugin-help ] ( https://github.com/oclif/plugin-help/blob/v2.2.1 /src/commands/help.ts ) _
190
+ _ See code: [ @oclif/plugin-help ] ( https://github.com/oclif/plugin-help/blob/v2.2.3 /src/commands/help.ts ) _
190
191
191
192
## ` cdt minify [FILE] `
192
193
@@ -203,7 +204,23 @@ OPTIONS
203
204
-t, --type=type type of file to be minified, it will try to find type with extension supported: JS, HTML/HTM, CSS
204
205
```
205
206
206
- _ See code: [ src/commands/minify.ts] ( https://github.com/codingtools/cdt/blob/v0.2.0/src/commands/minify.ts ) _
207
+ _ See code: [ src/commands/minify.ts] ( https://github.com/codingtools/cdt/blob/v0.3.0/src/commands/minify.ts ) _
208
+
209
+ ## ` cdt view [FILE] `
210
+
211
+ View file content and more
212
+
213
+ ```
214
+ USAGE
215
+ $ cdt view [FILE]
216
+
217
+ OPTIONS
218
+ -f, --file=file formatted file to be shown
219
+ -h, --help show CLI help
220
+ -n, --num=num no. of rows to show, default:10
221
+ ```
222
+
223
+ _ See code: [ src/commands/view.ts] ( https://github.com/codingtools/cdt/blob/v0.3.0/src/commands/view.ts ) _
207
224
<!-- commandsstop -->
208
225
209
226
## Acknowledgement
0 commit comments