@topolo/cli 0.1.23 → 0.1.25
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 +15 -9
- package/dist/index.js +1343 -359
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -108,20 +108,26 @@ topolo crm contacts:get contact_abc123
|
|
|
108
108
|
|
|
109
109
|
### `topolo services`
|
|
110
110
|
|
|
111
|
-
Lists
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
111
|
+
Lists the services the current credential can use in its organization, with the
|
|
112
|
+
effective URL and granted permissions. This command requires a credential and
|
|
113
|
+
does not expose the global platform catalog. In staging, `environmentSafe:
|
|
114
|
+
false` means that service still resolves to a production URL and will be
|
|
115
|
+
refused by `topolo api` until a staging URL override is configured.
|
|
115
116
|
|
|
116
117
|
```bash
|
|
117
118
|
topolo services --json
|
|
118
119
|
topolo services --env staging --json
|
|
119
120
|
```
|
|
120
121
|
|
|
122
|
+
`topolo api` accepts the IDs/slugs returned by this credential-scoped live
|
|
123
|
+
catalog. New services become usable without a CLI release once Auth grants the
|
|
124
|
+
organization and credential the relevant permissions.
|
|
125
|
+
|
|
121
126
|
### `topolo apps`
|
|
122
127
|
|
|
123
|
-
Lists
|
|
124
|
-
|
|
128
|
+
Lists launchable Topolo applications available to the current credential. This
|
|
129
|
+
uses the same live Auth catalog as `topolo services`; it is not the global
|
|
130
|
+
generated application list.
|
|
125
131
|
|
|
126
132
|
```bash
|
|
127
133
|
topolo apps --json
|
|
@@ -152,7 +158,7 @@ Wrangler Worker/static-assets baseline, an Auth service manifest, and a
|
|
|
152
158
|
apps. Add `--write --repo-root <topolo-checkout>` to create the files on disk;
|
|
153
159
|
existing files are refused unless `--force` is passed. The generated workflow
|
|
154
160
|
checks out the app under `PlatformApplications/<AppDir>`, checks out
|
|
155
|
-
`Topolo-io/
|
|
161
|
+
`Topolo-io/TopoloDocs`, `Topolo-io/topolo-sdk`, and `Topolo-io/TopoloCli`, builds the
|
|
156
162
|
current CLI from source, then runs the local conformance audit with
|
|
157
163
|
`--fail-on needs_review`.
|
|
158
164
|
|
|
@@ -203,8 +209,8 @@ topolo api auth GET /api/me
|
|
|
203
209
|
topolo api crm POST /api/contacts --data '{"first":"Jane"}' --confirm
|
|
204
210
|
```
|
|
205
211
|
|
|
206
|
-
Use `topolo services --json` to discover
|
|
207
|
-
service that does not have a typed command yet.
|
|
212
|
+
Use `topolo services --json` to discover service ids permitted for the current
|
|
213
|
+
credential before calling a service that does not have a typed command yet.
|
|
208
214
|
|
|
209
215
|
## Output modes
|
|
210
216
|
|