mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
25 lines
484 B
Go
25 lines
484 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/pkg/actions/tools/git"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var remote_renameCmd = &cobra.Command{
|
|
Use: "rename",
|
|
Short: "Rename a remote",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(remote_renameCmd).Standalone()
|
|
|
|
remoteCmd.AddCommand(remote_renameCmd)
|
|
|
|
carapace.Gen(remote_renameCmd).PositionalCompletion(
|
|
git.ActionRemotes(),
|
|
git.ActionRemotes(),
|
|
)
|
|
}
|