func StartProvisioner() (*cobra.Command, error) {
	// Create a new command.
	cmd := &cobra.Command{
		Use:   usage,
		Short: "Dynamic NFS Provisioner",
		Long: `Manage the NFS PVs that includes: validating, creating,
			deleting and cleanup tasks. NFS PVs are setup on top
			of other PVCs (block volumes)`,
		Run: func(cmd *cobra.Command, args []string) {
			util.CheckErr(Start(cmd), util.Fatal)
		},
	}

	// add the default command line flags as global flags to cobra command
	// flagset
	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)

	// Hack: Without the following line, the logs will be prefixed with Error
	_ = flag.CommandLine.Parse([]string{})

	return cmd, nil
}
// StartProvisioner will start a new dynamic NFS provisioner
StartProvisioner will start a new dynamic NFS provisioner
// StartProvisioner will start a new dynamic NFS provisioner
func StartProvisioner() (*cobra.Command, error) {
	cmd := &cobra.Command{
		Use:   usage,
		Short: "Dynamic NFS Provisioner",
		Long: `Manage the NFS PVs that includes: validating, creating,
			deleting and cleanup tasks. NFS PVs are setup on top
			of other PVCs (block volumes)`,
		Run: func(cmd *cobra.Command, args []string) {
			util.CheckErr(Start(cmd), util.Fatal)
		},
	}
	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
	_ = flag.CommandLine.Parse([]string{})
	return cmd, nil
}
func StartProvisioner ( ) ( * cobra . Command , error ) { cmd := & cobra . Command { Use : usage , Short : " " , Long : `Manage the NFS PVs that includes: validating, creating,
			deleting and cleanup tasks. NFS PVs are setup on top
			of other PVCs (block volumes)` , Run : func ( cmd * cobra . Command , args [ ] string ) { util . CheckErr ( Start ( cmd ) , util . Fatal ) } , } pflag . CommandLine . AddGoFlagSet ( flag . CommandLine ) _ = flag . CommandLine . Parse ( [ ] string { } ) return cmd , nil }
StartProvisioner will start a new dynamic NFS provisioner
StartProvisioner will start a new dynamic NFS provisioner
// Create a new command. // add the default command line flags as global flags to cobra command // flagset // Hack: Without the following line, the logs will be prefixed with Error