Skip to content

Commit

Permalink
feat: Add more JS
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Jun 1, 2024
1 parent 8b7abcc commit 0bb2a59
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
24 changes: 24 additions & 0 deletions bin/nestri.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env node

/**
* Main CLI entrypoint to use the nestri libraries
* This file is meant to be linked as a "nestri" executable.
*
* @name nestri
*/

'use strict';

// Define our basic CLI
var yargs = require('yargs');
var argv = yargs
.commandDir('../cmds')
.demand(1)
.help()
.global('verbose')
.count('verbose')
.alias('v', 'verbose')
.argv;

// Appease code styles
argv = argv;
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@netris/cli",
"name": "@nestri/cli",
"version": "0.0.1",
"description": "",
"main": "index.js",
Expand All @@ -8,5 +8,8 @@
},
"keywords": [],
"author": "wanjohiryan",
"license": "MIT"
"license": "MIT",
"devDependencies": {
"@types/node": "^20.13.0"
}
}
22 changes: 22 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0bb2a59

Please sign in to comment.