1.0.0 • Published 5 years ago

@known-as-dan/command v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

About

Command is a simple framework for handling command execution within your node application.

Usage

Recreating the common "echo" command using Command & Typescript:

import { Command, init } from "@known-as-dan/command";

new Command("echo", "<message>", "Send a message.", (args: Array<string>) => {
	const message = args.join();
	console.log(message);
});

init();