- commit
- b73fe3a8f8f4214a0d0411af6d15184e21407744
- parent
- 85ec3e30b38a6602b1fa7e6bc4476b6f7c1e72c5
- author
- Dami <dami.etoile@gmail.com>
| M | cli/ | 2 | +- |
| M | cli/ | 7 | +++++++ |
| M | deno.json | 2 | +- |
| M | shared/ | 2 | +- |
| M | shared/ | 2 | +- |
| M | worker/ | 2 | +- |
@@ -70,6 +70,13 @@ notification privacy: titles and bodies may appear on a lock screen; never inclu
7070 passwords, tokens, private URLs, or sensitive personal data.7171 `;7272 73+/**74+ * Runs the nzip command-line interface with the supplied arguments.75+ *76+ * @param argv Command-line arguments without the executable name. Defaults to77+ * the current process arguments.78+ * @throws If configuration, validation, or a command handler fails.79+ */7380 export async function main(argv = Deno.args): Promise<void> {7481 const args = parseArgs(argv, {7582 string: [@@ -5,7 +5,7 @@
55 "fmt": "deno fmt cli shared",66 "fmt:check": "deno fmt --check cli shared",77 "lint": "deno lint cli shared",8- "doc": "deno doc --lint shared/mod.ts",8+ "doc": "deno doc --lint cli/main.ts shared/mod.ts",99 "test": "deno test --allow-read --allow-write cli shared"1010 },1111 "fmt": { "lineWidth": 100 }@@ -197,7 +197,7 @@ describe("Worker runtime", () => {
197197 });198198 199199 expect(response.status).toBe(200);200- expect((await response.json<{ version: string }>()).version).toBe("0.7.0");200+ expect((await response.json<{ version: string }>()).version).toBe("0.7.1");201201 });202202 203203 it("creates, lists, renames, and redescribes vaults", async () => {