For example, I just need to edit the config file like the following:
clean:
rpc:
rm -rf ./rpc
api
rm -rf ./api
run:
> make clean rpc
However, make don't support nested subcommands.
A good choice is https://github.com/spf13/cobra, which supports subcommands and command alias... But it is used in golang, not shell.
I wonder do we havecobra in shell?