Add completion spec: tree#257
Merged
Merged
Conversation
Add command completions for tree, a recursive directory listing utility. Includes all flags, options, and static suggestions for --sort. Co-Authored-By: Oz <oz-agent@warp.dev>
APP-3957 [Auto] Add tree completions
Add command completions for Fish shell reference implementation: https://github.com/fish-shell/fish-shell/blob/master/share/completions/tree.fish |
Contributor
Author
Completion ScreenshotsScreenshots taken during local testing with Note: Screenshots were captured during testing but could not be uploaded via the sandbox environment. The three tests performed were:
All completions were verified working correctly in the Warp completion dropdown menu. |
vkodithala
approved these changes
Apr 10, 2026
alokedesai
approved these changes
Apr 10, 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
Add command completion spec for
tree, a recursive directory listing utility.Addresses APP-3957.
What's included
command-signatures/json/tree.json) covering all flags/options fromtree --helpand Fish shell completions-a,-d,-l,-f,-x,-L,-R,-P,-I,--gitignore,--gitfile,--ignore-case,--matchdirs,--metafirst,--prune,--info,--infofile,--noreport,--charset,--filelimit,-o-q,-N,-Q,-p,-u,-g,-s,-h,--si,--du,-D,--timefmt,-F,--inodes,--device-v,-t,-c,-U,-r,--dirsfirst,--filesfirst,--sort(with static suggestions:name,version,size,mtime,ctime)-i,-A,-S,-n,-C-X,-J,-H,-T,--nolinks,--hintro,--houtro--fromfile,--fromtabfile,--fflinks--version,--helpfolderstemplate)No generators
This command uses only static flags, options, and suggestions — no dynamic generators are needed.
Testing
All completions verified in a local Warp build with
cargo run --features fast_dev:tree -+ Tab) — shows-A,-a,-C,-c,-D,-d, etc.tree --+ Tab) — shows--charset,--device,--dirsfirst,--du,--fflinks,--filelimit, etc.tree --sort+ Tab) — showsctime,mtime,name,size,versionAll presubmit checks pass (prettier formatting, cargo fmt, cargo clippy, cargo test — 54+10 tests).
Conversation: https://staging.warp.dev/conversation/4f071408-ca9b-4182-9bcf-0c13e4c2d8f4
Run: https://oz.staging.warp.dev/runs/019d744d-205e-7e8a-b2ab-5c0827c29ba5
This PR was generated with Oz.