git-workflow/main.ab

18 lines
317 B
Text
Raw Permalink Normal View History

2024-07-25 17:59:52 +02:00
import { feature_cmd } from "./cmd/feature.ab"
fun help(args: [Text]): Null {
echo "help"
}
main(args) {
let cmd = args[0]
if {
cmd == "" { help(args) }
cmd == "feature" { feature_cmd(args) }
else {
echo "unknown command '{cmd}'"
fail 1
}
}
}