mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
24 lines
505 B
Go
24 lines
505 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var submodule_syncCmd = &cobra.Command{
|
|
Use: "sync",
|
|
Short: "Synchronizes submodules remote URL to .gitmodules",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(submodule_syncCmd).Standalone()
|
|
submodule_syncCmd.Flags().Bool("recursive", false, "")
|
|
|
|
submoduleCmd.AddCommand(submodule_syncCmd)
|
|
|
|
carapace.Gen(submodule_syncCmd).PositionalAnyCompletion(
|
|
carapace.ActionFiles(),
|
|
)
|
|
}
|