@erdoai/cli 0.265.0 → 0.272.0
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4055,11 +4055,11 @@ id: ${o.id}`);
|
|
|
4055
4055
|
}
|
|
4056
4056
|
});
|
|
4057
4057
|
managed.command("adopt [token]").description(
|
|
4058
|
-
"Take over an existing org: redeem a one-time consent token, or --from-org <slug> for an org you
|
|
4059
|
-
).option("--from-org <slug>", "slug of an org you are an owner of, adopted directly").action(async (token, opts) => {
|
|
4058
|
+
"Take over an existing org: redeem a one-time consent token, or --from-org <slug> for an org you administer yourself (no token needed)"
|
|
4059
|
+
).option("--from-org <slug>", "slug of an org you are an owner or admin of, adopted directly").action(async (token, opts) => {
|
|
4060
4060
|
try {
|
|
4061
4061
|
if (!token && !opts.fromOrg) {
|
|
4062
|
-
fail(new Error("provide a consent token, or --from-org <slug> for an org you
|
|
4062
|
+
fail(new Error("provide a consent token, or --from-org <slug> for an org you administer"));
|
|
4063
4063
|
}
|
|
4064
4064
|
if (token && opts.fromOrg) {
|
|
4065
4065
|
fail(new Error("provide a token or --from-org, not both"));
|