goodbyekansas / nedryland

Nedryland is a collection of utilities and a build system for declaring, building and deploying microservice solutions.
https://goodbyekansas.github.io/nedryland/
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

✨ 📚 Show shellCommands and their description #286

Closed simonrainerson closed 2 years ago

simonrainerson commented 2 years ago

Also silence the sourcing of the shellCommands' environment. When entering a shell, list the commands and their description. Example:

shellCOmmands = {
    command-name = {
        script = "code...";
        description = ''
          Very good description.
          Can be multi line
        '';
        args = "-h --help";
    };
    secret-command-name = {
        script = "code...";
        # This command is not listed in welcome message
        show = false;
    };
    simple-command = "code...";
};