Skip to content

Commit 21140a7

Browse files
authored
Merge pull request #22 from codingtools/feature/minifier-html
Feature/minifier for html/css/js
2 parents 499e4c2 + abdfc73 commit 21140a7

File tree

11 files changed

+481
-35
lines changed

11 files changed

+481
-35
lines changed

README.md

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
cdt
22
===
33

4-
Command Line tools for CODERs
4+
CLI for Developers
55

6-
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
7-
[![Version](https://img.shields.io/npm/v/cdt.svg)](https://npmjs.org/package/cdt)
8-
[![Downloads/week](https://img.shields.io/npm/dw/cdt.svg)](https://npmjs.org/package/cdt)
9-
[![License](https://img.shields.io/npm/l/cdt.svg)](https://github.com//cdt/blob/master/package.json) [![Greenkeeper badge](https://badges.greenkeeper.io/codingtools/cdt.svg)](https://greenkeeper.io/)
6+
[![CircleCI](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1.svg?style=shield)](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.1)
7+
[![Version](https://img.shields.io/npm/v/@codingtools/cdt)](https://npmjs.org/package/@codingtools/cdt)
8+
[![License](https://img.shields.io/npm/l/@codingtools/cdt)](https://github.com/codingtools/cdt/blob/master/package.json)
9+
[![Greenkeeper badge](https://badges.greenkeeper.io/codingtools/cdt.svg)](https://greenkeeper.io/)
10+
![GitHub contributors](https://img.shields.io/github/contributors/codingtools/cdt)
11+
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/codingtools/cdt)
12+
<!-- ![Node](https://img.shields.io/node/v/@codingtools/cdt) -->
13+
<!-- [![Downloads](https://img.shields.io/npm/dm/@codingtools/cdt)](https://npmjs.org/package/@codingtools/cdt) -->
1014

1115
<!-- toc -->
1216
* [Usage](#usage)
@@ -15,11 +19,11 @@ Command Line tools for CODERs
1519
# Usage
1620
<!-- usage -->
1721
```sh-session
18-
$ npm install -g cdt
22+
$ npm install -g @codingtools/cdt
1923
$ cdt COMMAND
2024
running command...
2125
$ cdt (-v|--version|version)
22-
cdt/0.0.1 darwin-x64 node-v12.9.0
26+
@codingtools/cdt/0.1.1 darwin-x64 node-v12.9.0
2327
$ cdt --help [COMMAND]
2428
USAGE
2529
$ cdt COMMAND
@@ -31,10 +35,11 @@ USAGE
3135
* [`cdt crypto [STRING]`](#cdt-crypto-string)
3236
* [`cdt hash [STRING]`](#cdt-hash-string)
3337
* [`cdt help [COMMAND]`](#cdt-help-command)
38+
* [`cdt minify [FILE]`](#cdt-minify-file)
3439

3540
## `cdt crypto [STRING]`
3641

37-
Encryption and Decryption functionality
42+
Encryption and Decryption functionality for File/String
3843

3944
```
4045
USAGE
@@ -50,11 +55,11 @@ OPTIONS
5055
-s, --string=string string to be encrypted/decrypted
5156
```
5257

53-
_See code: [src/commands/crypto.ts](https://github.com/codingtools/cdt/blob/v0.0.1/src/commands/crypto.ts)_
58+
_See code: [src/commands/crypto.ts](https://github.com/codingtools/cdt/blob/v0.1.1/src/commands/crypto.ts)_
5459

5560
## `cdt hash [STRING]`
5661

57-
create hash for a string/file
62+
Hashing functionality for a string/file
5863

5964
```
6065
USAGE
@@ -64,10 +69,10 @@ OPTIONS
6469
-f, --file=file file to be hashed
6570
-h, --help show CLI help
6671
-s, --string=string string to be hashed
67-
-t, --type=type type of hash [SHA1(default),MD5,SHA256,SHA512,RMD160]
72+
-t, --type=type type of hash [SHA1(default), MD5, SHA256, SHA512, RMD160 or RIPEMD160]
6873
```
6974

70-
_See code: [src/commands/hash.ts](https://github.com/codingtools/cdt/blob/v0.0.1/src/commands/hash.ts)_
75+
_See code: [src/commands/hash.ts](https://github.com/codingtools/cdt/blob/v0.1.1/src/commands/hash.ts)_
7176

7277
## `cdt help [COMMAND]`
7378

@@ -85,4 +90,20 @@ OPTIONS
8590
```
8691

8792
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_
93+
94+
## `cdt minify [FILE]`
95+
96+
File Minifier
97+
98+
```
99+
USAGE
100+
$ cdt minify [FILE]
101+
102+
OPTIONS
103+
-f, --file=file file to be minified
104+
-h, --help show CLI help
105+
-t, --type=type type of file to be minified, it will try to find type with extension
106+
```
107+
108+
_See code: [src/commands/minify.ts](https://github.com/codingtools/cdt/blob/v0.1.1/src/commands/minify.ts)_
88109
<!-- commandsstop -->

0 commit comments

Comments
 (0)