@v5x/cli 0.0.9 → 0.0.11
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -118,7 +118,7 @@ var require_picocolors = __commonJS((exports, module) => {
|
|
|
118
118
|
// package.json
|
|
119
119
|
var package_default = {
|
|
120
120
|
name: "@v5x/cli",
|
|
121
|
-
version: "0.0.
|
|
121
|
+
version: "0.0.11",
|
|
122
122
|
description: "Command line interface for v5x.",
|
|
123
123
|
license: "MIT",
|
|
124
124
|
type: "module",
|
|
@@ -3715,7 +3715,6 @@ class V5SerialDevice extends VexSerialDevice {
|
|
|
3715
3715
|
async doAfterConnect() {
|
|
3716
3716
|
if (this.connection == null)
|
|
3717
3717
|
return;
|
|
3718
|
-
console.log("doAfterConnect");
|
|
3719
3718
|
this.connection.on("disconnected", (_data) => {
|
|
3720
3719
|
if (this.autoReconnect)
|
|
3721
3720
|
this.reconnect();
|
|
@@ -3781,7 +3780,8 @@ class V5SerialDevice extends VexSerialDevice {
|
|
|
3781
3780
|
}
|
|
3782
3781
|
}
|
|
3783
3782
|
// src/index.ts
|
|
3784
|
-
|
|
3783
|
+
var brand = (str) => `\x1B[0;38;2;129;140;248;49m${str}\x1B[0m`;
|
|
3784
|
+
console.log(brand(`v5x ${package_default.version}`));
|
|
3785
3785
|
console.log("modern cli for v5 development");
|
|
3786
3786
|
async function main() {
|
|
3787
3787
|
const device = new V5SerialDevice(serial);
|