API Reference

lean cloud object-store set

Introduction

Sets the data to the given key in the organization's cloud object store.

$ lean cloud object-store set [OPTIONS] KEY PATH

To use the CLI, you must be a member in an organization on a paid tier.

Description

Uploads a local file to the organization's cloud Object Store under the given <key>. The <path> argument specifies the path to the local file to upload. If an entry with the same key already exists, it is overwritten.

To verify the upload, use lean cloud object-store list to view all available keys.

Arguments

The lean cloud object-store set command expects the following arguments:

ArgumentDescription
<key>The key under which to save the file.
<path>Path to the local file to upload.

Options

The lean cloud object-store set command supports the following options:

OptionDescription
--verboseEnable debug logging
--helpDisplay the help text of the lean cloud object-store set command and exit

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: