mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
22 lines
482 B
Go
22 lines
482 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/carapace-sh/carapace"
|
|
"github.com/carapace-sh/carapace-bin/completers/apt_completer/cmd/common"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var distUpgradeCmd = &cobra.Command{
|
|
Use: "dist-upgrade",
|
|
Short: "upgrade the system",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(distUpgradeCmd).Standalone()
|
|
|
|
common.AddGetFlags(distUpgradeCmd)
|
|
common.ActionInstallFlags(distUpgradeCmd)
|
|
rootCmd.AddCommand(distUpgradeCmd)
|
|
}
|