table-ui 0.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/tableui.js +18 -0
  2. package/package.json +18 -0
package/bin/tableui.js ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+
3
+ const command = process.argv[2];
4
+
5
+ if (command === "--version" || command === "-v") {
6
+ console.log("0.0.1");
7
+ } else {
8
+ console.log(`
9
+ TableUI CLI
10
+
11
+ Usage:
12
+ tableui --help
13
+ tableui --version
14
+
15
+ Website:
16
+ https://tableui.com
17
+ `);
18
+ }
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "table-ui",
3
+ "version": "0.0.1",
4
+ "description": "The official TableUI CLI",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "tableui": "./bin/tableui.js"
9
+ },
10
+ "files": [
11
+ "bin"
12
+ ],
13
+ "homepage": "https://tableui.com",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/tableui/tableui.git"
17
+ }
18
+ }