@tarout/cli 0.7.1 → 0.9.0
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/{api-QVUO7EWV.js → api-YFXACHOB.js} +2 -2
- package/dist/{chunk-Y6TWR3XZ.js → chunk-CZPJYUNC.js} +1 -1
- package/dist/{chunk-DI66W4S5.js → chunk-OPPZGNJX.js} +1 -1
- package/dist/{chunk-K7JK5HIL.js → chunk-WKITMZ4U.js} +6 -0
- package/dist/index.js +4107 -3773
- package/dist/{prompts-JH6YBHHV.js → prompts-D72VJYWE.js} +2 -2
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
createApiClient,
|
|
3
3
|
getApiClient,
|
|
4
4
|
resetApiClient
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CZPJYUNC.js";
|
|
6
6
|
import "./chunk-5DAFGMBH.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-WKITMZ4U.js";
|
|
8
8
|
export {
|
|
9
9
|
createApiClient,
|
|
10
10
|
getApiClient,
|
|
@@ -106,6 +106,11 @@ function success(message) {
|
|
|
106
106
|
console.log(colors.success(`\u2713 ${message}`));
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
function warn(message) {
|
|
110
|
+
if (!globalOptions.json) {
|
|
111
|
+
console.log(colors.warn(`\u26A0 ${message}`));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
109
114
|
function error(message, suggestions) {
|
|
110
115
|
if (globalOptions.json) {
|
|
111
116
|
outputJson(jsonError("ERROR", message, suggestions));
|
|
@@ -197,6 +202,7 @@ export {
|
|
|
197
202
|
getStatusBadge,
|
|
198
203
|
log,
|
|
199
204
|
success,
|
|
205
|
+
warn,
|
|
200
206
|
error,
|
|
201
207
|
table,
|
|
202
208
|
outputData,
|