convoker 0.3.0 → 0.3.3
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/color.d.ts +153 -200
- package/dist/color.js +142 -48
- package/dist/command.d.ts +218 -555
- package/dist/command.js +513 -448
- package/dist/error.d.ts +107 -864
- package/dist/error.js +100 -10
- package/dist/index.d.ts +6 -1224
- package/dist/index.js +6 -13
- package/dist/input.d.ts +182 -252
- package/dist/input.js +185 -10
- package/dist/log.d.ts +61 -0
- package/dist/log.js +216 -0
- package/dist/{prompt.d.ts → prompt/index.d.ts} +193 -258
- package/dist/prompt/index.js +273 -0
- package/dist/prompt/raw.js +105 -9
- package/dist/standard-schema.d.ts +62 -0
- package/dist/standard-schema.js +16 -0
- package/dist/utils.d.ts +30 -0
- package/dist/utils.js +56 -0
- package/package.json +15 -12
- package/dist/chunks/__vite-browser-external-DQYBmsno.js +0 -80
- package/dist/chunks/color-CiruG_zQ.js +0 -153
- package/dist/chunks/error-CyKscMUD.js +0 -95
- package/dist/chunks/index-BluQjWvw.js +0 -198
- package/dist/chunks/input-WNu16aNE.js +0 -138
- package/dist/chunks/standard-schema-BHKzvwIS.js +0 -12
- package/dist/chunks/utils-DdmSEjLc.js +0 -22
- package/dist/prompt.js +0 -17
- package/dist/raw.d.ts +0 -38
package/dist/prompt.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./chunks/color-CiruG_zQ.js";
|
|
2
|
-
import "./chunks/standard-schema-BHKzvwIS.js";
|
|
3
|
-
import "./chunks/error-CyKscMUD.js";
|
|
4
|
-
import "./chunks/utils-DdmSEjLc.js";
|
|
5
|
-
import { d as m } from "./chunks/__vite-browser-external-DQYBmsno.js";
|
|
6
|
-
import { c as i, e as c, m as d, p as f, b as l, a as x, s as h, t as w } from "./chunks/index-BluQjWvw.js";
|
|
7
|
-
export {
|
|
8
|
-
i as confirm,
|
|
9
|
-
c as editor,
|
|
10
|
-
d as multiselect,
|
|
11
|
-
f as password,
|
|
12
|
-
m as raw,
|
|
13
|
-
l as search,
|
|
14
|
-
x as select,
|
|
15
|
-
h as setTheme,
|
|
16
|
-
w as text
|
|
17
|
-
};
|
package/dist/raw.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Clears `lines` amount of lines.
|
|
3
|
-
* @param lines Amount of lines to clear.
|
|
4
|
-
*/
|
|
5
|
-
export declare function clearLines(lines?: number): void;
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Moves the cursor down `n` times.
|
|
9
|
-
* @param n The amount of steps to move.
|
|
10
|
-
*/
|
|
11
|
-
export declare function cursorDown(n?: number): void;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Moves the cursor up `n` times.
|
|
15
|
-
* @param n The amount of steps to move.
|
|
16
|
-
*/
|
|
17
|
-
export declare function cursorUp(n?: number): void;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Reads a single key from stdin.
|
|
21
|
-
* @returns The key that was read.
|
|
22
|
-
*/
|
|
23
|
-
export declare function readKey(): Promise<string>;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Reads a line from standard input.
|
|
27
|
-
* @param message The message.
|
|
28
|
-
* @param def Default value.
|
|
29
|
-
* @param opts Options for reading a line.
|
|
30
|
-
* @returns The line that was read.
|
|
31
|
-
*/
|
|
32
|
-
export declare function readLine(message?: string, def?: string, opts?: {
|
|
33
|
-
masked?: boolean;
|
|
34
|
-
maskChar?: string;
|
|
35
|
-
multiline?: boolean;
|
|
36
|
-
}): Promise<string>;
|
|
37
|
-
|
|
38
|
-
export { }
|