1.0.5 • Published 2 years ago
@polycuber/script.cli v1.0.5
Library for commands script
Is design to make simple and not performant synchronous program with cli.
The typescript definition will help to see other exposed features.
const { script, print } = require("@polycuber/script.cli")
script((argv) => {
print.success("say:", argv.message)
}, {
arguments: {
"message": {
type: "string",
required: true,
}
}
})