cuy-cli 1.0.1 → 1.0.4

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.
package/README.md CHANGED
@@ -37,9 +37,16 @@ Cek staging server https://cuyuniverse.co
37
37
 
38
38
  ### HOW TO USE IT
39
39
 
40
+ <p>
40
41
  <code>cuy-cli --version</code> || checking version of cuy-cli
42
+ </p>
43
+ <p>
41
44
  <code>cuy-cli --help</code> || check all command line available list
42
- <code>cuy-cli ls</code> || <code>cuy-cli lastseen </code> checking version of cuy-cli
45
+ </p>
46
+ <p>
47
+ <code>cuy-cli ls</code> || <code>cuy-cli lastseen</code> check active users lastseen
48
+ </p>
49
+ <p>
43
50
  <code>cuy-cli p</code> || <code>cuy-cli posting</code> create a new posts
44
-
51
+ </p>
45
52
  <i>This project is still under development and need some improvements. Please tell me a kind of future.</i>
package/bin/database.js CHANGED
@@ -3,7 +3,8 @@ var conn = mysql.createConnection({
3
3
  host: process.env.DB_HOST,
4
4
  user: process.env.DB_USERNAME,
5
5
  password: process.env.DB_PASSWORD,
6
- database: process.env.DB_DATABASE
6
+ database: process.env.DB_DATABASE,
7
+ port: process.env.DB_PORT
7
8
  });
8
9
  conn.connect(function (err) {
9
10
  if (err) throw err;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cuy-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "Cuyuniverse Command Line Tools",
5
5
  "main": "index.js",
6
6
  "preferGlobal": true,