I changed structure of the project and added cmd/ directory to write CLI commands. root.go is the file that contains starting point of the CLI app. commands.go contains commands as a variable. We can extend CLI application by adding new commands as a variable.
I changed structure of the project and added
cmd/
directory to write CLI commands.root.go
is the file that contains starting point of the CLI app.commands.go
contains commands as a variable. We can extend CLI application by adding new commands as a variable.