diff --git a/README.md b/README.md index b7d32a00..a1acd47b 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,17 @@ qse -v qse --version ``` +## List + +List all available commands and options. + +```bash +qse list +``` + ## Init -Initialize a basic Express.js server. +Initialize a new Express.js server. ```bash qse init diff --git a/bin/configs.js b/bin/configs.js index b0f06c31..6055076f 100644 --- a/bin/configs.js +++ b/bin/configs.js @@ -8,11 +8,22 @@ export const metadata = { export const commands = { version: { - versionFlags: "-v, --version", + command: "-v, --version", + description: "Prints current qse version", }, init: { command: "init", description: "Initialize a new Express server.", + options: [ + { + flags: "-t, --template