feat: encode-* decode-* add alias
This commit is contained in:
@@ -6,6 +6,9 @@ import {toArrayBuffer} from "https://deno.land/std@0.203.0/streams/mod.ts";
|
||||
const flags = parseArgs(Deno.args, {
|
||||
boolean: ["help"],
|
||||
string: ["value"],
|
||||
alias: {
|
||||
V: "value"
|
||||
}
|
||||
});
|
||||
|
||||
if (flags.help) {
|
||||
@@ -24,5 +27,5 @@ const encoded = decodeURIComponent(input);
|
||||
|
||||
console.log(encoded);
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234931+08:00.MEQCIGtptRwhQ3YN0WarjPH2
|
||||
// d0OIKCq/K1D6vOaRnSUUXP5OAiBnujYtnDlRYpJ4/jQMW8thQHilKyBTSKdr94NtnrsqCA==
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260122T235929+08:00.MEUCIQDtNpI/a8OTsQtqz+C8
|
||||
// XpN1KDs8cDssZCFyRzhqQab3nwIgS7XiDm8mHvwuxSAGOcxGQKd76laaOr1qNdAUP92DRuY=
|
||||
|
||||
Reference in New Issue
Block a user