slither
Version:
Quick testing for short scripts
12 lines (11 loc) • 463 B
text/typescript
import * as commander from "commander";
import * as fs from "fs";
commander
.version("0.2.0")
.command("init", "initialize slither in a directory")
.command("addset", "add a new test set")
.command("addtest <set>", "add a new test case to a testset")
.command("edittest <set> <number>", "edit a test case for a testset")
.command("cattest <set> <number>", "print a test case for a testset")
.command("test <name>", "run a test set")
.parse(process.argv);