File

Upload and download files.

Usage:

lightning file [OPTIONS] COMMAND [ARGS]...

Commands

Command

Description

download

Download a file from a Studio or Teamspace drive file.

upload

Upload a file to a Studio.

lightning file download

Download a file from a Studio or Teamspace drive file.

Usage:

lightning file download [OPTIONS] PATH

Arguments

Name

Type

Required

Description

PATH

text

yes

Remote file path to download.

Options

Option

Type

Required

Default

Description

--studio

TEXT

no

—

The name of the studio to download from. Will show a menu with user’s owned studios for selection if not specified. If provided, should be in the form of <TEAMSPACE-NAME>/<STUDIO-NAME> where the names are case-sensitive. The teamspace and studio names can be regular expressions to match, a menu filtered studios will be shown for final selection.

--teamspace

TEXT

no

—

The teamspace the file is part of. Should be of format <OWNER>/<TEAMSPACE_NAME>.

--local-path, --local_path

DIRECTORY

no

'.'

The path to the directory you want to download the file to.

lightning file upload

Upload a file to a Studio.

Usage:

lightning file upload [OPTIONS] PATH

Arguments

Name

Type

Required

Description

PATH

path

yes

Local file path to upload.

Options

Option

Type

Required

Default

Description

--studio

TEXT

no

—

The name of the studio to upload to. Will show a menu for selection if not specified. If provided, should be in the form of <TEAMSPACE-NAME>/<STUDIO-NAME>

--remote-path, --remote_path

TEXT

no

—

The path where the uploaded file should appear on your Studio. Has to be within your Studio’s home directory and will be relative to that. If not specified, will use the name of the file you want to upload and place it in your home directory.

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close