diff --git a/deps.ts b/deps.ts index 22c4747..ef6fb25 100644 --- a/deps.ts +++ b/deps.ts @@ -1,5 +1,5 @@ export const test = Deno.test; -export { parse } from "https://deno.land/std@0.136.0/flags/mod.ts"; +export { parse } from "https://deno.land/std@0.138.0/flags/mod.ts"; export { blue, bold, @@ -7,9 +7,9 @@ export { red, reset as resetColor, yellow, -} from "https://deno.land/std@0.136.0/fmt/colors.ts"; +} from "https://deno.land/std@0.138.0/fmt/colors.ts"; export { assert, assertEquals, assertThrows, -} from "https://deno.land/std@0.136.0/testing/asserts.ts"; +} from "https://deno.land/std@0.138.0/testing/asserts.ts"; diff --git a/egg.json b/egg.json index d6be581..9e5c8ab 100644 --- a/egg.json +++ b/egg.json @@ -5,12 +5,11 @@ "homepage": "https://github.com/siokas/denomander", "unstable": true, "unlisted": false, - "version": "0.9.1", + "version": "0.9.2", "releaseType": "patch", "files": [ "./mod.ts", "./deps.ts", - "./bootstrap.ts", "./src/**/*", "./README.md" ], diff --git a/examples/printer.ts b/examples/printer.ts index e9d9f04..6abc695 100644 --- a/examples/printer.ts +++ b/examples/printer.ts @@ -22,6 +22,18 @@ program .command("warning", "Just a warning") .action(() => program.print().warning("This is a warning message")); +program + .command("lighttheme", "Simple theme print commant") + .action(() => program.print().lightMode("This is the light mode")); + +program + .command("darktheme", "Simple theme print commant") + .action(() => program.print().darkMode("This is the dark mode")); + +program + .command("goldentheme", "Simple theme print commant") + .action(() => program.print().goldenMode("This is the golden mode")); + try { program.parse(Deno.args); } catch (error) {