@tinycloud/cli 1.5.0-beta.22 → 1.5.0-beta.23
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/legacy-entry.js +2 -2
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +1 -1
package/dist/legacy-entry.js
CHANGED
|
@@ -38166,7 +38166,7 @@ var sql = (actions) => actions.map((action) => `tinycloud.sql/${action}`);
|
|
|
38166
38166
|
var ONBOARD_STEPS = [
|
|
38167
38167
|
{
|
|
38168
38168
|
space: "applications",
|
|
38169
|
-
asks: "Read and
|
|
38169
|
+
asks: "Read, change and delete your apps' data for 30 days.",
|
|
38170
38170
|
permissions: [
|
|
38171
38171
|
{ service: "tinycloud.kv", space: "applications", path: "", actions: kv(["get", "list", "put", "del", "metadata"]) },
|
|
38172
38172
|
{ service: "tinycloud.sql", space: "applications", path: "", actions: sql(["read", "write"]) }
|
|
@@ -38188,7 +38188,7 @@ var ApprovalNeeded = class extends Error {
|
|
|
38188
38188
|
}
|
|
38189
38189
|
};
|
|
38190
38190
|
function registerOnboardCommand(program) {
|
|
38191
|
-
program.command("onboard").description(`Set up this computer to act for its owner: a profile, the owner's OpenKey sign-in (or new account), and a starting grant for 30 days (read and
|
|
38191
|
+
program.command("onboard").description(`Set up this computer to act for its owner: a profile, the owner's OpenKey sign-in (or new account), and a starting grant for 30 days (read, change and delete in the applications space; read which spaces and apps exist). Each run does the next approval: it prints the approval link and exits ${ExitCode.PENDING}; run it again with the code OpenKey shows. Exits 0 when onboarding is complete.`).option("--code <code>", "The code OpenKey showed after the owner approved the last link").action(async (options, cmd) => {
|
|
38192
38192
|
try {
|
|
38193
38193
|
const globalOpts = cmd.optsWithGlobals();
|
|
38194
38194
|
const ctx = await ProfileManager.resolveContext(globalOpts, { storedSession: "unused" });
|