feat(drive): add --all flag to ls for global file listing#107
Merged
steipete merged 2 commits intoopenclaw:mainfrom Mar 3, 2026
Merged
feat(drive): add --all flag to ls for global file listing#107steipete merged 2 commits intoopenclaw:mainfrom
steipete merged 2 commits intoopenclaw:mainfrom
Conversation
Contributor
Author
|
hey @steipete appreciate your time, can I get maintainer approval to run any pending workflows?
|
Contributor
Author
|
bump @steipete |
Collaborator
|
Hi @struong I'll look at this this weekend. Thank you. |
Collaborator
|
This looks good, thank you @struong ... I'll be reviewing PR's actively to help Peter, this one took a while to get to and so your PR has conflicts with main; could you please rebase on the latest main? I'll merge it then. |
1f6da02 to
ced43a5
Compare
Collaborator
klodr
pushed a commit
to klodr/gogcli
that referenced
this pull request
Apr 22, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds an
--all(alias--global) flag togog drive lsthat lists all accessible files instead of being scoped to a specific folder.Closes #108
Motivation
Currently
drive lsalways filters by parent folder (defaulting to root). To list files globally, users must usedrive searchwhich requires a search query. This makes it cumbersome to simply list recent files across all of Drive.Changes
All boolfield toDriveLsCmdwith--all/--globalflagsbuildDriveAllListQuery()that builds a query without parent folder constraintDriveLsCmd.Run()to use the appropriate query builder based on the flagUsage