@quonfig/cli 0.0.25 → 0.0.26
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 +47 -47
- package/dist/commands/create.d.ts +7 -0
- package/dist/commands/create.js +33 -0
- package/dist/commands/delete.js +4 -2
- package/dist/commands/init.js +6 -2
- package/dist/commands/login.js +72 -91
- package/dist/commands/migrate/doctor.js +13 -3
- package/dist/commands/override.js +4 -2
- package/dist/commands/pull.d.ts +11 -0
- package/dist/commands/pull.js +67 -20
- package/dist/commands/push.js +4 -7
- package/dist/commands/whoami.d.ts +13 -0
- package/dist/commands/whoami.js +119 -32
- package/dist/commands/workspace/bootstrap.js +27 -20
- package/dist/commands/workspace/create.d.ts +11 -0
- package/dist/commands/workspace/create.js +56 -16
- package/dist/commands/workspace/switch.d.ts +10 -0
- package/dist/commands/workspace/switch.js +98 -50
- package/dist/commands/workspace.d.ts +14 -0
- package/dist/commands/workspace.js +152 -40
- package/dist/migrate/local-write.js +16 -31
- package/dist/push/bare-path-diff.js +2 -4
- package/dist/push/config-push-client.js +4 -2
- package/dist/push/run-push.js +37 -8
- package/dist/util/clone-and-stack-push.js +14 -29
- package/dist/util/get-client.js +70 -38
- package/dist/util/get-valid-token.d.ts +16 -4
- package/dist/util/get-valid-token.js +59 -42
- package/dist/util/git-ops.d.ts +90 -0
- package/dist/util/git-ops.js +172 -24
- package/dist/util/gitea-api.js +4 -2
- package/dist/util/local-config-writer.d.ts +33 -0
- package/dist/util/local-config-writer.js +63 -0
- package/dist/util/login-orchestrator.d.ts +42 -0
- package/dist/util/login-orchestrator.js +79 -0
- package/dist/util/oauth-client.d.ts +2 -0
- package/dist/util/oauth-client.js +30 -0
- package/dist/util/quonfig-json.d.ts +58 -21
- package/dist/util/quonfig-json.js +151 -22
- package/dist/util/resolve-workspace.js +79 -17
- package/dist/util/token-storage.d.ts +39 -8
- package/dist/util/token-storage.js +34 -4
- package/oclif.manifest.json +8 -8
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
"type": "boolean"
|
|
669
669
|
},
|
|
670
670
|
"workspace": {
|
|
671
|
-
"description": "Workspace
|
|
671
|
+
"description": "Workspace pin in <org-slug>/<workspace-slug> form (Guard 1). If omitted, no pin is written.",
|
|
672
672
|
"name": "workspace",
|
|
673
673
|
"required": false,
|
|
674
674
|
"hasDynamicHelp": false,
|
|
@@ -967,7 +967,7 @@
|
|
|
967
967
|
"login": {
|
|
968
968
|
"aliases": [],
|
|
969
969
|
"args": {},
|
|
970
|
-
"description": "Log in to Quonfig via WorkOS device authorization",
|
|
970
|
+
"description": "Log in to Quonfig via WorkOS device authorization (mints one token per org)",
|
|
971
971
|
"examples": [
|
|
972
972
|
"<%= config.bin %> <%= command.id %>",
|
|
973
973
|
"<%= config.bin %> <%= command.id %> --profile myprofile"
|
|
@@ -2171,7 +2171,7 @@
|
|
|
2171
2171
|
"whoami": {
|
|
2172
2172
|
"aliases": [],
|
|
2173
2173
|
"args": {},
|
|
2174
|
-
"description": "Display information about the currently logged in user",
|
|
2174
|
+
"description": "Display information about the currently logged in user and all org memberships",
|
|
2175
2175
|
"examples": [
|
|
2176
2176
|
"<%= config.bin %> <%= command.id %>"
|
|
2177
2177
|
],
|
|
@@ -2224,7 +2224,7 @@
|
|
|
2224
2224
|
"workspace": {
|
|
2225
2225
|
"aliases": [],
|
|
2226
2226
|
"args": {},
|
|
2227
|
-
"description": "Show the
|
|
2227
|
+
"description": "Show the active workspace, all org tokens, and every (org, workspace) the user can reach",
|
|
2228
2228
|
"examples": [
|
|
2229
2229
|
"<%= config.bin %> <%= command.id %>"
|
|
2230
2230
|
],
|
|
@@ -2925,15 +2925,15 @@
|
|
|
2925
2925
|
"aliases": [],
|
|
2926
2926
|
"args": {
|
|
2927
2927
|
"slug": {
|
|
2928
|
-
"description": "Workspace
|
|
2928
|
+
"description": "Workspace pin in `<org-slug>/<workspace-slug>` form. Omit for an interactive picker.",
|
|
2929
2929
|
"name": "slug",
|
|
2930
2930
|
"required": false
|
|
2931
2931
|
}
|
|
2932
2932
|
},
|
|
2933
|
-
"description": "Switch to a different workspace",
|
|
2933
|
+
"description": "Switch the saved default profile to a different (org, workspace) pair",
|
|
2934
2934
|
"examples": [
|
|
2935
2935
|
"<%= config.bin %> <%= command.id %>",
|
|
2936
|
-
"<%= config.bin %> <%= command.id %>
|
|
2936
|
+
"<%= config.bin %> <%= command.id %> acme/production"
|
|
2937
2937
|
],
|
|
2938
2938
|
"flags": {
|
|
2939
2939
|
"json": {
|
|
@@ -2983,5 +2983,5 @@
|
|
|
2983
2983
|
]
|
|
2984
2984
|
}
|
|
2985
2985
|
},
|
|
2986
|
-
"version": "0.0.
|
|
2986
|
+
"version": "0.0.26"
|
|
2987
2987
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageManager": "yarn@4.11.0+sha512.4e54aeace9141df2f0177c266b05ec50dc044638157dae128c471ba65994ac802122d7ab35bcd9e81641228b7dcf24867d28e750e0bcae8a05277d600008ad54",
|
|
3
3
|
"name": "@quonfig/cli",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.26",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/quonfig/cli/issues"
|
|
7
7
|
},
|