{"draft":null,"from":184,"to":185,"files":[{"path":"client/src/main.ts","added":14,"removed":9,"diff":"--- a/client/src/main.ts\n+++ b/client/src/main.ts\n@@ -46,7 +46,7 @@\n import { runAck, runAnswer, runAsk, runIssue, runIssues, runReply, runSearch, runWaiting } from \"./issues.ts\";\n import { adminToken, issuedPublic, keyList, keyListText, keyNew, keyRevoke } from \"./key-admin.ts\";\n import { browserSkip, openInBrowser } from \"./open-browser.ts\";\n-import { initInOrg, runOrg, runOrgs } from \"./orgs.ts\";\n+import { runOrg, runOrgs } from \"./orgs.ts\";\n import { runUnqueue } from \"./queue.ts\";\n import { runNote, runNotes, runReview } from \"./review.ts\";\n import {\n@@ -97,14 +97,19 @@\n \n const COMMANDS: Readonly<Record<string, CommandDef>> = {\n \tinit: {\n-\t\tflags: { server: \"string\", project: \"string\", agent: \"string\", \"as-is\": \"boolean\", org: \"string\" },\n-\t\tusage: \"abso init [folder] --project <name> --agent <name> [--as-is] [--org <org>]\",\n-\t\tabout:\n-\t\t\t\"Create a project on the server from a folder's text files The folder becomes that agent's folder. It writes a starting .absoignore, and, when the folder has no avcs.json and package.json gives a check or a build to guess, an avcs.json (setup, check, build and out): what the server's CI runs on each new version of shared. Without one, CI runs what it can guess itself, or nothing. --as-is writes neither: the folder goes up exactly as it is (an import). --org <org> makes it an organization's project: for now that is done on the website, and abso says where.\",\n-\t\trun: (args, env) => {\n-\t\t\tconst org = str(args, \"org\");\n-\t\t\treturn org === undefined ? runInit(args, env) : initInOrg(org, boxServer(args, env));\n+\t\tflags: {\n+\t\t\tserver: \"string\",\n+\t\t\tproject: \"string\",\n+\t\t\tagent: \"string\",\n+\t\t\t\"as-is\": \"boolean\",\n+\t\t\torg: \"string\",\n+\t\t\tpublic: \"boolean\",\n+\t\t\tprivate: \"boolean\",\n \t\t},\n+\t\tusage: \"abso init [folder] --project <name> [--agent <name>] [--as-is] [--org <org>] [--public|--private]\",\n+\t\tabout:\n+\t\t\t\"Create a project on the server from a folder's text files The folder becomes that agent's folder. It writes a starting .absoignore, and, when the folder has no avcs.json and package.json gives a check or a build to guess, an avcs.json (setup, check, build and out): what the server's CI runs on each new version of shared. Without one, CI runs what it can guess itself, or nothing. --as-is writes neither: the folder goes up exactly as it is (an import). On a server this box is signed in to (abso login, approving all your projects), the project is made as you, the way the website's New project makes it: you own it, it's private unless you say --public, and the folder joins it at once with its own key (--agent names it; else the box's name). --org <org> makes it that organization's project. Elsewhere it needs --agent and the server's token.\",\n+\t\trun: (args, env) => runInit(args, env),\n \t},\n \tkey: {\n \t\tflags: {\n@@ -278,7 +283,7 @@\n \t\tusage:\n \t\t\t\"abso org <name> [--invite <person>|link [--as owner] | --role <person>=owner|member | --remove <person> | --leave | --members read|write | --projects-by members|owners] | abso org new <name> [--name <shown name>]\",\n \t\tabout:\n-\t\t\t\"An organization: its projects, people, open invites and settings, as the person who approved this box's sign-in sees them (people and settings only to members). One change at a time. Changes and abso org new are made on the website for now, and abso says where.\",\n+\t\t\t\"An organization: its projects, people, open invites and settings, as the person who approved this box's sign-in sees them (people and settings only to members). One change at a time. abso org new makes one as that person, from a box approved for all their projects; other changes are made on the website, and abso says where.\",\n \t\trun: (args, env) => runOrg(args, boxServer(args, env)),\n \t},\n \tskill: {"}],"unmatched":[]}