@fonoster/ctl 0.4.6 → 0.4.7
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.
|
@@ -29,7 +29,9 @@ class ListCommand extends command_1.Command {
|
|
|
29
29
|
const projects = new Projects();
|
|
30
30
|
// Gets the list
|
|
31
31
|
const result = await projects.listProjects({});
|
|
32
|
-
const projs = result.projects?.map(p => Object.assign(p, {
|
|
32
|
+
const projs = result.projects?.map((p) => Object.assign(p, {
|
|
33
|
+
name: (0, config_1.isDefaultProject)(p.ref) ? `${p.name} *` : p.name
|
|
34
|
+
}));
|
|
33
35
|
core_1.CliUx.ux.table(projs, {
|
|
34
36
|
accessKeyId: { header: "Ref / Access Key Id", minWidth: 30 },
|
|
35
37
|
name: { header: "Name", minWidth: 12 }
|
|
@@ -68,7 +68,7 @@ class ListCommand extends command_1.Command {
|
|
|
68
68
|
},
|
|
69
69
|
host: { header: "Host", minWidth: 18 },
|
|
70
70
|
transport: { header: "Transport", minWidth: 13 },
|
|
71
|
-
register: { header: "Register", minWidth: 13 }
|
|
71
|
+
register: { header: "Register", minWidth: 13 }
|
|
72
72
|
// expires: {header: "SIP Registration Refresh", minWidth: 13}
|
|
73
73
|
}, { "no-header": !showHeader });
|
|
74
74
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "Command-Line for Fonoster",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@fonoster/agents": "^0.4.
|
|
59
|
-
"@fonoster/apps": "^0.4.
|
|
60
|
-
"@fonoster/domains": "^0.4.
|
|
61
|
-
"@fonoster/logger": "^0.4.
|
|
62
|
-
"@fonoster/numbers": "^0.4.
|
|
58
|
+
"@fonoster/agents": "^0.4.7",
|
|
59
|
+
"@fonoster/apps": "^0.4.7",
|
|
60
|
+
"@fonoster/domains": "^0.4.7",
|
|
61
|
+
"@fonoster/logger": "^0.4.7",
|
|
62
|
+
"@fonoster/numbers": "^0.4.7",
|
|
63
63
|
"@fonoster/plugin-warn-if-update-available": "github:fonoster/plugin-warn-if-update-available",
|
|
64
|
-
"@fonoster/projects": "^0.4.
|
|
65
|
-
"@fonoster/providers": "^0.4.
|
|
66
|
-
"@fonoster/secrets": "^0.4.
|
|
64
|
+
"@fonoster/projects": "^0.4.7",
|
|
65
|
+
"@fonoster/providers": "^0.4.7",
|
|
66
|
+
"@fonoster/secrets": "^0.4.7",
|
|
67
67
|
"@oclif/command": "^1.8.22",
|
|
68
68
|
"@oclif/config": "^1.18.8",
|
|
69
69
|
"@oclif/core": "^1.26.2",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"@types/prettyjson": "0.0.29",
|
|
86
86
|
"rimraf": "^3.0.2"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "ed437f652e2a294fab087cacc41fb311a63050a7"
|
|
89
89
|
}
|