From b61201222bffee89cd79f764a10feb5c87f2d986 Mon Sep 17 00:00:00 2001 From: redpeacock78 Date: Wed, 17 Nov 2021 00:13:16 +0900 Subject: [PATCH] chore: Change cli.ts --- cli.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.ts b/cli.ts index 0cbe0b3..145f23a 100644 --- a/cli.ts +++ b/cli.ts @@ -2,6 +2,7 @@ import { readAllSync } from "https://deno.land/std@0.114.0/streams/conversion.ts import { getStdinBufferSync } from "https://deno.land/x/get_stdin@v1.1.0/mod.ts"; import { Command } from "https://deno.land/x/cliffy@v0.20.1/command/mod.ts"; import { base85encode, base85decode } from "./mod.ts"; +import { version } from "./version.ts"; try { let file: Uint8Array; @@ -56,7 +57,7 @@ try { const { options, args } = await new Command() .name("base85") .description("Base85 (Ascii85 with Adobe Escape Sequence) encode or decode FILE, or standard input, to standard output.") - .version("v0.0.12") + .version(version()) .option("-d, --decode", "Decode data") .arguments("