cc-codeline 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin.js +10 -4
  2. package/package.json +5 -5
package/bin.js CHANGED
@@ -57,10 +57,16 @@ const path = join(base, param[0] || '');
57
57
 
58
58
  (() => {
59
59
  if (param.includes('-h')) {
60
- console.table({
61
- '-h': 'Show help',
62
- '-l': 'Print log'
63
- });
60
+ console.log(`
61
+ codeline /path/ -l
62
+ ------------------
63
+ -h Show help
64
+ -l Print log
65
+ `);
66
+ // console.table({
67
+ // '-h': 'Show help',
68
+ // '-l': 'Print log'
69
+ // });
64
70
  return;
65
71
  }
66
72
  try {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "cc-codeline",
3
- "version": "1.0.0",
4
- "main": "index.js",
5
- "describe": "Quickly count your lines of code",
3
+ "version": "1.0.1",
4
+ "main": "bin.js",
5
+ "description": "Quickly count your lines of code",
6
6
  "bin": {
7
7
  "codeline": "./bin.js"
8
8
  },
9
- "keywords": [],
9
+ "keywords": ["codeline"],
10
10
  "author": "",
11
- "license": "ISC",
11
+ "license": "MIT",
12
12
  "type": "commonjs"
13
13
  }