README
¶
version
Print the current project version and exit.
Usage
salsaflow version
Description
Print the version string as stored in the current branch.
Steps
This command goes through the following steps:
- Invoke the
get_version
custom script and print the output.
Documentation
¶
Overview ¶
Print the current project version and exit.
salsaflow version
Description ¶
Print the version string as stored in the current branch.
Steps ¶
This command goes through the following steps:
- Invoke the `get_version` custom script and print the output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &gocli.Command{ UsageLine: "version", Short: "print the current project version", Long: ` Print the project version string as stored in the current branch. To check the version of SalsaFlow itself, use -version. There are also some subcommands available. Check them out. `, Action: func(cmd *gocli.Command, args []string) { if len(args) != 0 { cmd.Usage() os.Exit(2) } ver, err := version.Get() if err != nil { errs.Fatal(err) } fmt.Println(ver) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.