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] PATHArguments
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
No description provided. |
Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
— |
no |
|
List files in all subdirectories recursively |
|
— |
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/reportsWas this page helpful?
Thanks for the feedback.