XITASO / devcmd

Development Commands in Node.js and TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"help" / "list" feature to see all devcmd tasks

lenaxus opened this issue · comments

commented

There currently exists no "help" / "list" feature to see all devcmd tasks. To see all tasks, you have to navigate to the dev_cms folde.

The following approach would be desirable:

  • Type an command like this: yarn devcmd help
  • Get an helpful output with the task names and maybe a short description. This can look for example like this:
    image

I think it would be better to use an "option" switch to devcmd, e.g. --list, instead of using a "task-like" plain command like list/help. Using an option switch is less likely to collide with an actual task (== script in the dev_cmds dir), since a project might want to define its own "list" or "help" command.