2021-07-16 16:27:05 +02:00

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(),
)
}