code: func instantiateCmd(cf *ChaincodeCmdFactory) *cobra.Command {
  	chaincodeInstantiateCmd = &cobra.Command{
  		Use:       instantiateCmdName,
  		Short:     fmt.Sprint(instantiateDesc),
  		Long:      fmt.Sprint(instantiateDesc),
  		ValidArgs: []string{"1"},
  		RunE: func(cmd *cobra.Command, args []string) error {
  			return chaincodeDeploy(cmd, args, cf)
  		},
  	}
  	flagList := []string{
  		"lang",
  		"ctor",
  		"name",
  		"channelID",
  		"version",
  		"policy",
  		"escc",
  		"vscc",
  		"collections-config",
  		"peerAddresses",
  		"tlsRootCertFiles",
  		"connectionProfile",
  	}
  	attachFlags(chaincodeInstantiateCmd, flagList)
  
  	return chaincodeInstantiateCmd
  }
docs: // instantiateCmd returns the cobra command for Chaincode Deploy