@fonoster/ctl 0.3.17 → 0.3.19
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 +44 -44
- package/dist/base/delete.js +18 -0
- package/dist/commands/agents/create.js +22 -1
- package/dist/commands/agents/delete.js +18 -0
- package/dist/commands/agents/get.js +21 -2
- package/dist/commands/agents/list.js +18 -0
- package/dist/commands/agents/update.js +23 -2
- package/dist/commands/apps/create.js +19 -1
- package/dist/commands/apps/delete.js +18 -0
- package/dist/commands/apps/list.js +18 -0
- package/dist/commands/apps/update.js +18 -0
- package/dist/commands/auth/login.js +19 -1
- package/dist/commands/auth/logout.js +29 -9
- package/dist/commands/bug.js +18 -0
- package/dist/commands/domains/create.js +19 -1
- package/dist/commands/domains/delete.js +18 -0
- package/dist/commands/domains/get.js +19 -1
- package/dist/commands/domains/list.js +18 -0
- package/dist/commands/domains/update.js +18 -0
- package/dist/commands/feedback.js +18 -0
- package/dist/commands/numbers/create.js +18 -0
- package/dist/commands/numbers/delete.js +18 -0
- package/dist/commands/numbers/get.js +19 -1
- package/dist/commands/numbers/list.js +18 -0
- package/dist/commands/numbers/update.js +19 -1
- package/dist/commands/projects/create.js +18 -0
- package/dist/commands/projects/delete.js +18 -0
- package/dist/commands/projects/get.js +19 -1
- package/dist/commands/projects/list.js +18 -0
- package/dist/commands/projects/renew.js +18 -0
- package/dist/commands/projects/use.js +18 -0
- package/dist/commands/providers/create.js +18 -0
- package/dist/commands/providers/delete.js +18 -0
- package/dist/commands/providers/get.js +19 -1
- package/dist/commands/providers/list.js +19 -1
- package/dist/commands/providers/update.js +18 -0
- package/dist/commands/secrets/create.js +7 -2
- package/dist/config.js +18 -0
- package/dist/data/voices.js +18 -0
- package/dist/decorators/project_guard.js +18 -0
- package/dist/help.js +18 -0
- package/dist/index.js +18 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +29 -0
- package/oclif.manifest.json +1 -1
- package/package.json +12 -11
|
@@ -3,6 +3,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
/*
|
|
7
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
8
|
+
* http://github.com/fonoster/fonoster
|
|
9
|
+
*
|
|
10
|
+
* This file is part of Fonoster
|
|
11
|
+
*
|
|
12
|
+
* Licensed under the MIT License (the "License");
|
|
13
|
+
* you may not use this file except in compliance with
|
|
14
|
+
* the License. You may obtain a copy of the License at
|
|
15
|
+
*
|
|
16
|
+
* https://opensource.org/licenses/MIT
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
+
* See the License for the specific language governing permissions and
|
|
22
|
+
* limitations under the License.
|
|
23
|
+
*/
|
|
6
24
|
const delete_1 = __importDefault(require("../../base/delete"));
|
|
7
25
|
const errors_1 = require("@oclif/errors");
|
|
8
26
|
const config_1 = require("../../config");
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
5
|
+
* http://github.com/fonoster/fonoster
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Fonoster
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the MIT License (the "License");
|
|
10
|
+
* you may not use this file except in compliance with
|
|
11
|
+
* the License. You may obtain a copy of the License at
|
|
12
|
+
*
|
|
13
|
+
* https://opensource.org/licenses/MIT
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*/
|
|
3
21
|
require("../../config");
|
|
4
22
|
const errors_1 = require("@oclif/errors");
|
|
5
23
|
const command_1 = require("@oclif/command");
|
|
@@ -38,5 +56,5 @@ class GetCommand extends command_1.Command {
|
|
|
38
56
|
}
|
|
39
57
|
}
|
|
40
58
|
exports.default = GetCommand;
|
|
41
|
-
GetCommand.description =
|
|
59
|
+
GetCommand.description = "get a Fonoster Provider";
|
|
42
60
|
GetCommand.args = [{ name: "ref" }];
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
5
|
+
* http://github.com/fonoster/fonoster
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Fonoster
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the MIT License (the "License");
|
|
10
|
+
* you may not use this file except in compliance with
|
|
11
|
+
* the License. You may obtain a copy of the License at
|
|
12
|
+
*
|
|
13
|
+
* https://opensource.org/licenses/MIT
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*/
|
|
3
21
|
require("../../config");
|
|
4
22
|
const errors_1 = require("@oclif/errors");
|
|
5
23
|
const command_1 = require("@oclif/command");
|
|
@@ -50,7 +68,7 @@ class ListCommand extends command_1.Command {
|
|
|
50
68
|
},
|
|
51
69
|
host: { header: "Host", minWidth: 18 },
|
|
52
70
|
transport: { header: "Transport", minWidth: 13 }
|
|
53
|
-
//expires: {header: "SIP Registration Refresh", minWidth: 13}
|
|
71
|
+
// expires: {header: "SIP Registration Refresh", minWidth: 13}
|
|
54
72
|
}, { "no-header": !showHeader });
|
|
55
73
|
};
|
|
56
74
|
showTable(firstBatch, list);
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
5
|
+
* http://github.com/fonoster/fonoster
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Fonoster
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the MIT License (the "License");
|
|
10
|
+
* you may not use this file except in compliance with
|
|
11
|
+
* the License. You may obtain a copy of the License at
|
|
12
|
+
*
|
|
13
|
+
* https://opensource.org/licenses/MIT
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*/
|
|
3
21
|
require("../../config");
|
|
4
22
|
const errors_1 = require("@oclif/errors");
|
|
5
23
|
const command_1 = require("@oclif/command");
|
|
@@ -35,7 +35,9 @@ class CreateCommand extends command_1.Command {
|
|
|
35
35
|
async run() {
|
|
36
36
|
const secretsManager = new Secrets((0, config_1.getProjectConfig)());
|
|
37
37
|
const { args, flags } = this.parse(CreateCommand);
|
|
38
|
-
|
|
38
|
+
const secret = flags["from-stdin"]
|
|
39
|
+
? await getStdin()
|
|
40
|
+
: flags["from-literal"];
|
|
39
41
|
if (!args.name || !secret) {
|
|
40
42
|
throw new errors_1.CLIError("Cant create a secret without a name or a secret-value. Type [secrets:create --help] for more information");
|
|
41
43
|
}
|
|
@@ -55,7 +57,10 @@ CreateCommand.description = "create a Fonoster secret.";
|
|
|
55
57
|
CreateCommand.args = [{ name: "name" }];
|
|
56
58
|
CreateCommand.flags = {
|
|
57
59
|
help: command_1.flags.help({ char: "h" }),
|
|
58
|
-
"from-literal": command_1.flags.string({
|
|
60
|
+
"from-literal": command_1.flags.string({
|
|
61
|
+
char: "l",
|
|
62
|
+
description: "pass from literal"
|
|
63
|
+
}),
|
|
59
64
|
"from-stdin": command_1.flags.boolean({ char: "s", description: "pass from stdin" })
|
|
60
65
|
};
|
|
61
66
|
__decorate([
|
package/dist/config.js
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.hasProjectConfig = exports.isDefaultProject = exports.unsetDefaultProject = exports.setConfig = exports.getProjectConfig = exports.getConfig = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
6
|
+
* http://github.com/fonoster/fonoster
|
|
7
|
+
*
|
|
8
|
+
* This file is part of Fonoster
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the MIT License (the "License");
|
|
11
|
+
* you may not use this file except in compliance with
|
|
12
|
+
* the License. You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* https://opensource.org/licenses/MIT
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
4
22
|
const logger_1 = require("@fonoster/logger");
|
|
5
23
|
const path_1 = require("path");
|
|
6
24
|
const os_1 = require("os");
|
package/dist/data/voices.js
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.voices = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
6
|
+
* http://github.com/fonoster/fonoster
|
|
7
|
+
*
|
|
8
|
+
* This file is part of Fonoster
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the MIT License (the "License");
|
|
11
|
+
* you may not use this file except in compliance with
|
|
12
|
+
* the License. You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* https://opensource.org/licenses/MIT
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
4
22
|
exports.voices = [
|
|
5
23
|
"ar-XA-Wavenet-A",
|
|
6
24
|
"ar-XA-Wavenet-B",
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProjectGuard = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
6
|
+
* http://github.com/fonoster/fonoster
|
|
7
|
+
*
|
|
8
|
+
* This file is part of Fonoster
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the MIT License (the "License");
|
|
11
|
+
* you may not use this file except in compliance with
|
|
12
|
+
* the License. You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* https://opensource.org/licenses/MIT
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
4
22
|
const errors_1 = require("@oclif/errors");
|
|
5
23
|
const config_1 = require("../config");
|
|
6
24
|
/**
|
package/dist/help.js
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
5
|
+
* http://github.com/fonoster/fonoster
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Fonoster
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the MIT License (the "License");
|
|
10
|
+
* you may not use this file except in compliance with
|
|
11
|
+
* the License. You may obtain a copy of the License at
|
|
12
|
+
*
|
|
13
|
+
* https://opensource.org/licenses/MIT
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
* See the License for the specific language governing permissions and
|
|
19
|
+
* limitations under the License.
|
|
20
|
+
*/
|
|
3
21
|
const plugin_help_1 = require("@oclif/plugin-help");
|
|
4
22
|
const figlet = require("figlet");
|
|
5
23
|
class MyHelpClass extends plugin_help_1.Help {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.run = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
6
|
+
* http://github.com/fonoster/fonoster
|
|
7
|
+
*
|
|
8
|
+
* This file is part of Fonoster
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the MIT License (the "License");
|
|
11
|
+
* you may not use this file except in compliance with
|
|
12
|
+
* the License. You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* https://opensource.org/licenses/MIT
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
4
22
|
var command_1 = require("@oclif/command");
|
|
5
23
|
Object.defineProperty(exports, "run", { enumerable: true, get: function () { return command_1.run; } });
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toPascalCase(str: string): string;
|
package/dist/utils.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toPascalCase = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
6
|
+
* http://github.com/fonoster/fonoster
|
|
7
|
+
*
|
|
8
|
+
* This file is part of Fonoster
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the MIT License (the "License");
|
|
11
|
+
* you may not use this file except in compliance with
|
|
12
|
+
* the License. You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* https://opensource.org/licenses/MIT
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
22
|
+
function toPascalCase(str) {
|
|
23
|
+
return str
|
|
24
|
+
.replace(/(?:^\w|[A-Z]|\b\w)/g, function (word, index) {
|
|
25
|
+
return index === 0 ? word.toUpperCase() : word.toLowerCase();
|
|
26
|
+
})
|
|
27
|
+
.replace(/\s+/g, "");
|
|
28
|
+
}
|
|
29
|
+
exports.toPascalCase = toPascalCase;
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.3.
|
|
1
|
+
{"version":"0.3.19","commands":{"bug":{"id":"bug","description":"start a bug report 🐞\n ...\n Opens github issues with a predefine bug template\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"feedback":{"id":"feedback","description":"let us know how we're doing\n ...\n Help us improve by providing some feedback\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"agents:create":{"id":"agents:create","description":"create a new Fonoster Agent\n ...\n Create a new Fonoster Agent\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"agents:delete":{"id":"agents:delete","description":"delete a Fonoster Agent","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["agents:del","agents:rm"],"flags":{},"args":[{"name":"ref"}]},"agents:get":{"id":"agents:get","description":"get a Fonoster Agent","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"agents:list":{"id":"agents:list","description":"list all Fonoster Agents you have access to\n ...\n List all Fonoster Agents you have access to\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["agents:ls"],"flags":{"size":{"name":"size","type":"option","char":"s","description":"agent of result per page","default":25}},"args":[]},"agents:update":{"id":"agents:update","description":"update a Fonoster Agent\n ...\n Update a Fonoster Agent\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"apps:create":{"id":"apps:create","description":"create a new Fonoster App\n ...\n Create a new Fonoster App\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"apps:delete":{"id":"apps:delete","description":"delete a Fonoster Application","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["apps:del","apps:rm"],"flags":{},"args":[{"name":"ref"}]},"apps:list":{"id":"apps:list","description":"list all Fonoster Apps you have access to\n ...\n List all Fonoster Apps you have access to\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["apps:ls"],"flags":{"size":{"name":"size","type":"option","char":"s","description":"number of result per page","default":25}},"args":[]},"apps:update":{"id":"apps:update","description":"update a new Fonoster App\n ...\n Update a new Fonoster App\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"auth:login":{"id":"auth:login","description":"log in to a Fonoster deployment","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"auth:logout":{"id":"auth:logout","description":"log out from a fonoster deployment","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"domains:create":{"id":"domains:create","description":"create a new Fonoster Domain\n ...\n Create a new Fonoster Domain\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"domains:delete":{"id":"domains:delete","description":"delete a Fonoster Domain","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["domains:del","domains:rm"],"flags":{},"args":[{"name":"ref"}]},"domains:get":{"id":"domains:get","description":"get a Fonoster Domain","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"domains:list":{"id":"domains:list","description":"list all Fonoster Domains you have access to\n ...\n List all Fonoster Domains you have access to\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["domains:ls"],"flags":{"size":{"name":"size","type":"option","char":"s","description":"number of result per page","default":25}},"args":[]},"domains:update":{"id":"domains:update","description":"update a Fonoster Domain\n ...\n Update a Fonoster Domain\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"numbers:create":{"id":"numbers:create","description":"create a new Fonoster Number\n ...\n Create a new Fonoster Number\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"numbers:delete":{"id":"numbers:delete","description":"delete a Fonoster Number","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["numbers:del","numbers:rm"],"flags":{},"args":[{"name":"ref"}]},"numbers:get":{"id":"numbers:get","description":"get a Fonoster Number","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"numbers:list":{"id":"numbers:list","description":"list all Fonoster Numbers you have access to\n ...\n List all Fonoster Numbers you have access to\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["numbers:ls"],"flags":{"size":{"name":"size","type":"option","char":"s","description":"number of result per page","default":25}},"args":[]},"numbers:update":{"id":"numbers:update","description":"update a Fonoster Number\n ...\n Update a Fonoster Number\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"projects:create":{"id":"projects:create","description":"create a new Fonoster Project\n ...\n Create a new Fonoster Project\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"projects:delete":{"id":"projects:delete","description":"delete a Fonoster Project","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["projects:del","projects:rm"],"flags":{},"args":[{"name":"ref"}]},"projects:get":{"id":"projects:get","description":"get a Fonoster Project","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"projects:list":{"id":"projects:list","description":"list all Fonoster Projects you have access to\n ...\n List all Fonoster Projects you have access to\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["projects:ls"],"flags":{},"args":[]},"projects:renew":{"id":"projects:renew","description":"renew the credentials of a Fonoster Project\n ...\n Renew the credentials of a Fonoster Project\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"projects:use":{"id":"projects:use","description":"set a default Fonoster Project\n ...\n Set a default Fonoster Project\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"providers:create":{"id":"providers:create","description":"create a new Fonoster Provider (trunk)\n ...\n Create a new Fonoster Provider\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[]},"providers:delete":{"id":"providers:delete","description":"delete a Fonoster Provider","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["providers:del","providers:rm"],"flags":{},"args":[{"name":"ref"}]},"providers:get":{"id":"providers:get","description":"get a Fonoster Provider","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"providers:list":{"id":"providers:list","description":"list all Fonoster Providers you have access to\n ...\n List all Fonoster Providers you have access to\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["providers:ls"],"flags":{"size":{"name":"size","type":"option","char":"s","description":"provider of result per page","default":25}},"args":[]},"providers:update":{"id":"providers:update","description":"update a Fonoster Provider\n ...\n Update a Fonoster Provider\n ","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ref"}]},"secrets:create":{"id":"secrets:create","description":"create a Fonoster secret.","pluginName":"@fonoster/ctl","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"from-literal":{"name":"from-literal","type":"option","char":"l","description":"pass from literal"},"from-stdin":{"name":"from-stdin","type":"boolean","char":"s","description":"pass from stdin","allowNo":false}},"args":[{"name":"name"}]},"secrets:delete":{"id":"secrets:delete","description":"remove Fonoster secret","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["secrets:del","secrets:rm"],"flags":{},"args":[{"name":"name"}]},"secrets:list":{"id":"secrets:list","description":"list of the secrets you have access to","pluginName":"@fonoster/ctl","pluginType":"core","aliases":["secrets:ls"],"flags":{"size":{"name":"size","type":"option","char":"s","description":"secrets of result per page","default":25}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.19",
|
|
4
4
|
"description": "Command-Line for Fonoster",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@fonoster/agents": "^0.3.
|
|
62
|
-
"@fonoster/apps": "^0.3.
|
|
63
|
-
"@fonoster/domains": "^0.3.
|
|
64
|
-
"@fonoster/logger": "^0.3.
|
|
65
|
-
"@fonoster/numbers": "^0.3.
|
|
61
|
+
"@fonoster/agents": "^0.3.19",
|
|
62
|
+
"@fonoster/apps": "^0.3.19",
|
|
63
|
+
"@fonoster/domains": "^0.3.19",
|
|
64
|
+
"@fonoster/logger": "^0.3.19",
|
|
65
|
+
"@fonoster/numbers": "^0.3.19",
|
|
66
66
|
"@fonoster/plugin-warn-if-update-available": "github:fonoster/plugin-warn-if-update-available",
|
|
67
|
-
"@fonoster/projects": "^0.3.
|
|
68
|
-
"@fonoster/providers": "^0.3.
|
|
69
|
-
"@fonoster/secrets": "^0.3.
|
|
67
|
+
"@fonoster/projects": "^0.3.19",
|
|
68
|
+
"@fonoster/providers": "^0.3.19",
|
|
69
|
+
"@fonoster/secrets": "^0.3.19",
|
|
70
70
|
"@oclif/command": "^1.8.16",
|
|
71
71
|
"@oclif/config": "^1.18.3",
|
|
72
72
|
"@oclif/core": "^1.3.4",
|
|
@@ -81,11 +81,12 @@
|
|
|
81
81
|
"moment": "^2.29.1",
|
|
82
82
|
"phone": "^2.4.21",
|
|
83
83
|
"prettyjson": "^1.2.1",
|
|
84
|
-
"update-notifier": "^
|
|
84
|
+
"update-notifier": "^6.0.2"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
+
"@types/inquirer": "^9.0.3",
|
|
87
88
|
"@types/prettyjson": "0.0.29",
|
|
88
89
|
"rimraf": "^3.0.2"
|
|
89
90
|
},
|
|
90
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "7130a7080c2e753b2b5a81de9307d5ff579f91f3"
|
|
91
92
|
}
|