webide-cli 0.0.1-alpha.2 → 0.0.1-alpha.3

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/index.js +8 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4,14 +4,13 @@ const { version } = require('./package.json');
4
4
 
5
5
  program
6
6
  .version(version)
7
- .command('init', 'Initialize a new project')
8
- .command('build', 'Build the project')
9
- .command('run', 'Run the project')
10
- .command('deploy', 'Deploy the project')
11
- .command('help', 'Show help')
12
- .parse(process.argv);
13
7
 
14
- const args = program.opts();
8
+ program
9
+ .command('hello')
10
+ .description('Welcome to WebIDE CLI!')
11
+ .action(() => {
12
+ console.log("Welcome to WebIDE CLI!");
13
+ });
15
14
 
16
- console.log("Welcome to WebIDE CLI!");
17
- console.log(process.cwd());
15
+ program
16
+ .parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webide-cli",
3
- "version": "0.0.1-alpha.2",
3
+ "version": "0.0.1-alpha.3",
4
4
  "description": "A CLI for NEW WebIDE",
5
5
  "keywords": [
6
6
  "WebIDE",