Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/johnny_decimal/deps.ts

Utilities for interacting with a Johnny Decimal filing system.
Go to Latest
import * as johnnyDecimal from "https://deno.land/x/johnny_decimal@1.1.1/deps.ts";

Functions

Make the text bold.

f
config
deprecated

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

f
exists
deprecated

Test whether or not the given path exists by checking with the file system.

Set text color to green.

Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments.

Parses content as single YAML document.

Set text color to red.

Serializes object as a YAML document.

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options.