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
| Name | Type | Description |
|---|---|---|
| opts | *RootOptions | Root options for the command, providing common configurations. |
Returns
| Type | Description |
|---|---|
*cobra.Command | A Cobra command configured for the upload operation. |