@awsless/clui 0.0.1 → 0.0.2
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.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -162,10 +162,10 @@ var color = import_chalk.default;
|
|
|
162
162
|
|
|
163
163
|
// src/logs.ts
|
|
164
164
|
var endMargin = 1;
|
|
165
|
-
var intro = (title) => {
|
|
165
|
+
var intro = (title = "") => {
|
|
166
166
|
(0, import_prompts3.intro)(subString(title, process.stdout.columns - 8 - endMargin));
|
|
167
167
|
};
|
|
168
|
-
var outro = (title) => {
|
|
168
|
+
var outro = (title = "") => {
|
|
169
169
|
(0, import_prompts3.outro)(subString(title, process.stdout.columns - 8 - endMargin));
|
|
170
170
|
};
|
|
171
171
|
var note = (title, message2) => {
|
package/dist/index.d.cts
CHANGED
|
@@ -36,8 +36,8 @@ declare namespace prompts {
|
|
|
36
36
|
export { prompts_confirm as confirm, prompts_multiSelect as multiSelect, prompts_password as password, prompts_select as select, prompts_text as text };
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
declare const intro: (title
|
|
40
|
-
declare const outro: (title
|
|
39
|
+
declare const intro: (title?: string) => void;
|
|
40
|
+
declare const outro: (title?: string) => void;
|
|
41
41
|
declare const note: (title: string, message: string) => void;
|
|
42
42
|
declare const message: (message: string, symbol?: string) => void;
|
|
43
43
|
declare const error: (message: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ declare namespace prompts {
|
|
|
36
36
|
export { prompts_confirm as confirm, prompts_multiSelect as multiSelect, prompts_password as password, prompts_select as select, prompts_text as text };
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
declare const intro: (title
|
|
40
|
-
declare const outro: (title
|
|
39
|
+
declare const intro: (title?: string) => void;
|
|
40
|
+
declare const outro: (title?: string) => void;
|
|
41
41
|
declare const note: (title: string, message: string) => void;
|
|
42
42
|
declare const message: (message: string, symbol?: string) => void;
|
|
43
43
|
declare const error: (message: string) => void;
|
package/dist/index.js
CHANGED
|
@@ -134,10 +134,10 @@ var color = chalk;
|
|
|
134
134
|
|
|
135
135
|
// src/logs.ts
|
|
136
136
|
var endMargin = 1;
|
|
137
|
-
var intro = (title) => {
|
|
137
|
+
var intro = (title = "") => {
|
|
138
138
|
p_intro(subString(title, process.stdout.columns - 8 - endMargin));
|
|
139
139
|
};
|
|
140
|
-
var outro = (title) => {
|
|
140
|
+
var outro = (title = "") => {
|
|
141
141
|
p_outro(subString(title, process.stdout.columns - 8 - endMargin));
|
|
142
142
|
};
|
|
143
143
|
var note = (title, message2) => {
|