Skip to content

package

import "go-cli-template/internal/package"

Index

func Description

func Description() string

Description returns the description from package.toml

func Name

func Name() string

Name returns the project name from package.toml

func Parse

func Parse(key string) string

Parse extracts a value from package.toml

func Short

func Short() string

Short returns the short description from package.toml

func Version

func Version() string

Version returns the version from package.toml

Source

See internal/package/ for implementation details.