mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 11:22:49 -05:00
20 lines
463 B
Go
20 lines
463 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// NewReleaseCommand creates the parent `ods release` command. Subcommands hang
|
|
// off it (e.g. `ods release opal`) and cut releases of Onyx-published packages.
|
|
func NewReleaseCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "release",
|
|
Short: "Cut releases of Onyx-published packages",
|
|
Long: "Cut releases of Onyx-published packages.",
|
|
}
|
|
|
|
cmd.AddCommand(NewReleaseOpalCommand())
|
|
|
|
return cmd
|
|
}
|