@tarout/cli 0.2.0 → 0.2.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/README.md +62 -18
- package/dist/api-735LN7BA.js +11 -0
- package/dist/billing-WOKNOS4N.js +11 -0
- package/dist/chunk-5XBVQICT.js +996 -0
- package/dist/chunk-7YS2WBLB.js +669 -0
- package/dist/chunk-CJMIX35A.js +127 -0
- package/dist/chunk-KL3JNPAY.js +203 -0
- package/dist/index.js +17849 -3317
- package/dist/{prompts-B53LIJLG.js → prompts-QQ2FZKQT.js} +4 -1
- package/package.json +3 -3
- package/dist/chunk-GSKD67K4.js +0 -41
- package/dist/chunk-VO4OYJW3.js +0 -53
- package/dist/spinner-2NALE2OE.js +0 -14
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarout/cli",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Tarout
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Tarout CLI — the Saudi cloud platform for coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"tarout": "./bin/tarout"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "^5.6.0"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": "
|
|
45
|
+
"node": "^24.14.1"
|
|
46
46
|
},
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|
package/dist/chunk-GSKD67K4.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// src/utils/spinner.ts
|
|
2
|
-
import ora from "ora";
|
|
3
|
-
var currentSpinner = null;
|
|
4
|
-
function startSpinner(text) {
|
|
5
|
-
if (currentSpinner) {
|
|
6
|
-
currentSpinner.stop();
|
|
7
|
-
}
|
|
8
|
-
currentSpinner = ora(text).start();
|
|
9
|
-
return currentSpinner;
|
|
10
|
-
}
|
|
11
|
-
function succeedSpinner(text) {
|
|
12
|
-
if (currentSpinner) {
|
|
13
|
-
currentSpinner.succeed(text);
|
|
14
|
-
currentSpinner = null;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
function failSpinner(text) {
|
|
18
|
-
if (currentSpinner) {
|
|
19
|
-
currentSpinner.fail(text);
|
|
20
|
-
currentSpinner = null;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function stopSpinner() {
|
|
24
|
-
if (currentSpinner) {
|
|
25
|
-
currentSpinner.stop();
|
|
26
|
-
currentSpinner = null;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
function updateSpinner(text) {
|
|
30
|
-
if (currentSpinner) {
|
|
31
|
-
currentSpinner.text = text;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export {
|
|
36
|
-
startSpinner,
|
|
37
|
-
succeedSpinner,
|
|
38
|
-
failSpinner,
|
|
39
|
-
stopSpinner,
|
|
40
|
-
updateSpinner
|
|
41
|
-
};
|
package/dist/chunk-VO4OYJW3.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// src/utils/prompts.ts
|
|
2
|
-
import inquirer from "inquirer";
|
|
3
|
-
async function confirm(message, defaultValue = false) {
|
|
4
|
-
const { confirmed } = await inquirer.prompt([
|
|
5
|
-
{
|
|
6
|
-
type: "confirm",
|
|
7
|
-
name: "confirmed",
|
|
8
|
-
message,
|
|
9
|
-
default: defaultValue
|
|
10
|
-
}
|
|
11
|
-
]);
|
|
12
|
-
return confirmed;
|
|
13
|
-
}
|
|
14
|
-
async function input(message, defaultValue) {
|
|
15
|
-
const { value } = await inquirer.prompt([
|
|
16
|
-
{
|
|
17
|
-
type: "input",
|
|
18
|
-
name: "value",
|
|
19
|
-
message,
|
|
20
|
-
default: defaultValue
|
|
21
|
-
}
|
|
22
|
-
]);
|
|
23
|
-
return value;
|
|
24
|
-
}
|
|
25
|
-
async function select(message, choices) {
|
|
26
|
-
const { value } = await inquirer.prompt([
|
|
27
|
-
{
|
|
28
|
-
type: "list",
|
|
29
|
-
name: "value",
|
|
30
|
-
message,
|
|
31
|
-
choices
|
|
32
|
-
}
|
|
33
|
-
]);
|
|
34
|
-
return value;
|
|
35
|
-
}
|
|
36
|
-
async function password(message) {
|
|
37
|
-
const { value } = await inquirer.prompt([
|
|
38
|
-
{
|
|
39
|
-
type: "password",
|
|
40
|
-
name: "value",
|
|
41
|
-
message,
|
|
42
|
-
mask: "*"
|
|
43
|
-
}
|
|
44
|
-
]);
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export {
|
|
49
|
-
confirm,
|
|
50
|
-
input,
|
|
51
|
-
select,
|
|
52
|
-
password
|
|
53
|
-
};
|
package/dist/spinner-2NALE2OE.js
DELETED