NewDataCommand
Returns a new instance of the co-pilot root command, which is a Cobra command for the 'flytedata' application. This command facilitates retrieving and uploading data from/to a remote stow store to a local disk, and it initializes configuration, data storage, and Kubernetes client settings.
def NewDataCommand() - > *cobra.Command
Returns a new instance of the co-pilot root command, which is a simple Go binary used to retrieve and upload data from/to a remote stow store to a local disk. This command, when used with Flytepropeller, eliminates the need for any Flyte library to be installed inside the container.
Returns
| Type | Description |
|---|---|
*cobra.Command | A new Cobra command instance configured for data operations. |