package
0.4.7
Repository: https://github.com/taubyte/dreamland.git
Documentation: pkg.go.dev

# README

Command utils

This module is for adding functionality to commands

Say you want a function to take a name, you define the command

command := &cli.Command{
    Name: "some-command"
}

Now before returning if you want to attach an ability to this command

command.Name(command)

This empty wrapping will attribute args[0] to name, and return an error if the name is not found