List

List contents of a teamspace drive directory.

PATH: Drive path in the format lit://<owner>/<teamspace>/<directory-path>, or lit:///<directory-path> for the current teamspace. The teamspace root lists the drive’s top-level folders (studios, uploads, …).

Usage:

lightning ls [OPTIONS] PATH

Arguments

Name

Type

Required

Description

PATH

text

yes

No description provided.

Options

Option

Type

Required

Default

Description

-r, --recursive

—

no

Sentinel.UNSET

List files in all subdirectories recursively

--json

—

no

—

Output the listing entries as JSON.

Examples

  lightning ls lit://<owner>/<my-teamspace>/
  lightning ls lit://<owner>/<my-teamspace>/artifacts/reports
  lightning ls lit:///artifacts/reports
  lightning ls -r lit://<owner>/<my-teamspace>/artifacts/reports
  lightning ls --json lit://<owner>/<my-teamspace>/artifacts/reports

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close