-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): enhance dataset listing with additional options for studio (…
…#561) * feat(cli): enhance dataset listing with additional options for studio With this change, the following variation are available to list datasets instead of `datachain ls-datasets`: - `datachain datasets --local` - `datachain datasets --studio` - `datachain datasets --all` (Default option) - `datachain datasets --team TEAM_NAME` - `datachain datasets` By default, if the user has logged in to Studio using `datachain studio login`, it will try to fetch the datasets from both local and studio. If any specific option (local or studio) is passed, only that option is passed. The team name is parsed from config (Set by `datachain studio team <TEAM_NAME>`). The same feature is added for `datachain ls` function and added the error handling for each scenarios. Relates to #10774 * Modify the result format with tabular format * Fix tests for ls * test ls * Fix tests for ls * Fix ls remote sources * Deduplicate
- Loading branch information
1 parent
be081a4
commit 10c4e2a
Showing
8 changed files
with
284 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.