Skip to main content
Module

x/johnny_decimal/mod.ts>DirectoryCore#registerAlias

Utilities for interacting with a Johnny Decimal filing system.
Go to Latest
method DirectoryCore.prototype.registerAlias
Re-export
import { DirectoryCore } from "https://deno.land/x/johnny_decimal@1.1.1/mod.ts";

Examples

directory.registerAlias("my-command", [ "mc" ]); directory.runAlias("mc"); // Runs the command "my-command"

Parameters

commandName: string
optional
aliasNames: string[] = [UNSUPPORTED]