This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { parse } from "https://deno.land/[email protected]/flags/mod.ts" | |
import { v4 } from "https://deno.land/[email protected]/uuid/mod.ts"; | |
const ARGS = parse(Deno.args) | |
const PATH = ARGS.path ?? null | |
const NODE = ARGS.node ?? 'content' | |
const FORMAT = ARGS.format ?? 'json' | |
const TYPE = ARGS.type ?? 'pseudo' | |
const DIRECTORY = PATH ?? Deno.cwd()+'/' | |
const CHARS = { |
OlderNewer