Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FileName is the file that will be read for the base version and last // commit. FileName string = "VERSION" // Cmd is the file command for the CLI. Cmd = &cobra.Command{ Use: "file", Short: "determine the base version from a file", Long: "Determine the base version from a file and compute the patch level from the number of commits since that file was modified.", RunE: func(command *cobra.Command, args []string) (err error) { err = root.Repo(&version.File{ RepoPath: root.RepoPath, FileName: FileName, }) return }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.