@fonoster/ctl 0.3.3 → 0.3.6-alpha.11

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.
Files changed (49) hide show
  1. package/README.md +173 -52
  2. package/dist/base/delete.js +10 -5
  3. package/dist/commands/agents/create.js +6 -6
  4. package/dist/commands/agents/get.js +4 -4
  5. package/dist/commands/agents/list.js +2 -2
  6. package/dist/commands/agents/update.js +5 -5
  7. package/dist/commands/apps/create.d.ts +6 -0
  8. package/dist/commands/apps/create.js +186 -0
  9. package/dist/commands/apps/delete.d.ts +9 -0
  10. package/dist/commands/apps/delete.js +36 -0
  11. package/dist/commands/apps/list.d.ts +10 -0
  12. package/dist/commands/apps/list.js +89 -0
  13. package/dist/commands/apps/update.d.ts +9 -0
  14. package/dist/commands/apps/update.js +205 -0
  15. package/dist/commands/auth/login.js +8 -8
  16. package/dist/commands/auth/logout.js +5 -5
  17. package/dist/commands/bug.js +2 -5
  18. package/dist/commands/domains/create.js +6 -6
  19. package/dist/commands/domains/get.js +4 -4
  20. package/dist/commands/domains/list.js +2 -2
  21. package/dist/commands/domains/update.js +5 -5
  22. package/dist/commands/feedback.js +2 -5
  23. package/dist/commands/numbers/create.js +6 -6
  24. package/dist/commands/numbers/get.js +4 -4
  25. package/dist/commands/numbers/list.js +2 -2
  26. package/dist/commands/numbers/update.js +20 -9
  27. package/dist/commands/projects/create.js +6 -6
  28. package/dist/commands/projects/get.js +4 -4
  29. package/dist/commands/projects/list.js +2 -2
  30. package/dist/commands/projects/renew.js +5 -5
  31. package/dist/commands/projects/use.js +5 -5
  32. package/dist/commands/providers/create.js +7 -7
  33. package/dist/commands/providers/get.js +4 -4
  34. package/dist/commands/providers/list.js +2 -2
  35. package/dist/commands/providers/update.js +5 -5
  36. package/dist/commands/secrets/create.d.ts +14 -0
  37. package/dist/commands/secrets/create.js +64 -0
  38. package/dist/commands/secrets/delete.d.ts +10 -0
  39. package/dist/commands/secrets/delete.js +57 -0
  40. package/dist/commands/secrets/list.d.ts +10 -0
  41. package/dist/commands/secrets/list.js +71 -0
  42. package/dist/data/voices.d.ts +1 -0
  43. package/dist/data/voices.js +319 -0
  44. package/dist/decorators/project_guard.d.ts +9 -0
  45. package/dist/decorators/project_guard.js +26 -0
  46. package/dist/help.d.ts +3 -1
  47. package/dist/help.js +21 -16
  48. package/oclif.manifest.json +1 -1
  49. package/package.json +24 -43
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/ctl",
3
- "version": "0.3.3",
3
+ "version": "0.3.6-alpha.11",
4
4
  "description": "Command-Line for Fonoster",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -33,36 +33,18 @@
33
33
  ],
34
34
  "oclif": {
35
35
  "commands": "./dist/commands",
36
+ "helpClass": "./dist/help",
36
37
  "bin": "fonoster",
37
38
  "plugins": [
38
39
  "@oclif/plugin-help",
39
40
  "@oclif/plugin-plugins",
40
41
  "@oclif/plugin-not-found",
41
- "@oclif/plugin-warn-if-update-available"
42
+ "@fonoster/plugin-warn-if-update-available"
42
43
  ],
43
44
  "warn-if-update-available": {
44
45
  "timeoutInDays": 1,
45
- "message": "<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>."
46
- },
47
- "topics": {
48
- "domains": {
49
- "description": "manage Domains"
50
- },
51
- "agents": {
52
- "description": "manage Agents"
53
- },
54
- "numbers": {
55
- "description": "manage Numbers"
56
- },
57
- "providers": {
58
- "description": "manage Providers"
59
- },
60
- "auth": {
61
- "description": "manage User credentials"
62
- },
63
- "projects": {
64
- "description": "manage Projects"
65
- }
46
+ "nagTimeoutInDays": 1,
47
+ "message": "\n <%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>."
66
48
  }
67
49
  },
68
50
  "publishConfig": {
@@ -76,35 +58,34 @@
76
58
  "url": "https://github.com/fonoster/fonoster/issues"
77
59
  },
78
60
  "dependencies": {
79
- "@fonoster/agents": "^0.3.3",
80
- "@fonoster/domains": "^0.3.3",
81
- "@fonoster/logger": "^0.3.3",
82
- "@fonoster/numbers": "^0.3.3",
83
- "@fonoster/projects": "^0.3.3",
84
- "@fonoster/providers": "^0.3.3",
85
- "@oclif/command": "^1.8.0",
86
- "@oclif/config": "^1.17.0",
87
- "@oclif/errors": "^1.3.4",
88
- "@oclif/plugin-help": "^3.2.2",
89
- "@oclif/plugin-not-found": "1.2.4",
90
- "@oclif/plugin-plugins": "^1.10.0",
91
- "@oclif/plugin-warn-if-update-available": "^1.7.0",
92
- "cli-ux": "5.5.1",
93
- "dockerode": "^3.3.0",
61
+ "@fonoster/agents": "^0.3.6-alpha.11",
62
+ "@fonoster/apps": "^0.3.6-alpha.11",
63
+ "@fonoster/domains": "^0.3.6-alpha.11",
64
+ "@fonoster/logger": "^0.3.6-alpha.11",
65
+ "@fonoster/numbers": "^0.3.6-alpha.11",
66
+ "@fonoster/plugin-warn-if-update-available": "github:fonoster/plugin-warn-if-update-available",
67
+ "@fonoster/projects": "^0.3.6-alpha.11",
68
+ "@fonoster/providers": "^0.3.6-alpha.11",
69
+ "@fonoster/secrets": "^0.3.6-alpha.11",
70
+ "@oclif/command": "^1.8.16",
71
+ "@oclif/config": "^1.18.3",
72
+ "@oclif/core": "^1.3.4",
73
+ "@oclif/errors": "^1.3.5",
74
+ "@oclif/plugin-help": "^3.3.1",
75
+ "@oclif/plugin-not-found": "^2.3.1",
76
+ "@oclif/plugin-plugins": "^2.1.0",
77
+ "easy-table": "^1.2.0",
94
78
  "figlet": "^1.5.0",
79
+ "get-stdin-with-tty": "^6.0.0",
95
80
  "inquirer": "^7.3.3",
96
81
  "moment": "^2.29.1",
97
82
  "phone": "^2.4.21",
98
83
  "prettyjson": "^1.2.1",
99
- "promise-fs": "^2.1.1",
100
- "truncate": "^2.1.0",
101
84
  "update-notifier": "^5.1.0"
102
85
  },
103
86
  "devDependencies": {
104
- "@types/dockerode": "^3.2.2",
105
- "@types/phone": "^2.4.0",
106
87
  "@types/prettyjson": "0.0.29",
107
88
  "rimraf": "^3.0.2"
108
89
  },
109
- "gitHead": "cfba6d55b5dc17f1e6d30b6d6d5ad771433d00a4"
90
+ "gitHead": "e5f462ddb2ec0910e5554b73940099dabeafbca1"
110
91
  }