package
import "go-cli-template/internal/package"Index
- func Description() string
- func Name() string
- func Parse(key string) string
- func Short() string
- func Version() string
func Description
func Description() stringDescription returns the description from package.toml
func Name
func Name() stringName returns the project name from package.toml
func Parse
func Parse(key string) stringParse extracts a value from package.toml
func Short
func Short() stringShort returns the short description from package.toml
func Version
func Version() stringVersion returns the version from package.toml
Source
See internal/package/ for implementation details.