Comparing version 0.1.3 to 0.2.0
@@ -13,2 +13,3 @@ "use strict"; | ||
exports.cli = void 0; | ||
const init_1 = require("./commands/init"); | ||
const listArduinoPorts_1 = require("./commands/listArduinoPorts"); | ||
@@ -20,2 +21,3 @@ const start_1 = require("./commands/start"); | ||
init Create a 'config.toml' file in the current directory | ||
listArduinoPorts Display a list of all connected usb ports and their path | ||
@@ -34,2 +36,5 @@ start Connect arduino to iocp/prosim | ||
} | ||
else if (cmd === 'init') { | ||
yield init_1.init(); | ||
} | ||
else if (cmd === 'start') { | ||
@@ -36,0 +41,0 @@ yield start_1.start(); |
{ | ||
"name": "lba-cli", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Lebronaire" |
@@ -0,1 +1,2 @@ | ||
import { init } from './commands/init' | ||
import { listArduinoPorts } from './commands/listArduinoPorts'; | ||
@@ -8,2 +9,3 @@ import { start } from './commands/start'; | ||
init Create a 'config.toml' file in the current directory | ||
listArduinoPorts Display a list of all connected usb ports and their path | ||
@@ -24,2 +26,5 @@ start Connect arduino to iocp/prosim | ||
} | ||
else if (cmd === 'init') { | ||
await init(); | ||
} | ||
else if (cmd === 'start') { | ||
@@ -26,0 +31,0 @@ await start(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94261
62
1591
4