Skip to main content

NewUploadCommand

uploads flyteData from the localpath to a remote dir.

def NewUploadCommand(
opts: *RootOptions
) - > *cobra.Command

Creates a new Cobra command for uploading Flyte data from a local path to a remote directory. This command is used to upload outputs.pb and create one file per variable.

Parameters

NameTypeDescription
opts*RootOptionsRoot options for the command, providing common configurations.

Returns

TypeDescription
*cobra.CommandA Cobra command configured for the upload operation.