macOS
brew install as-treelocal Homebrew formula metadata
sudo port install as-treeMacPorts ports tree · sysutils/as-tree/Portfile · 来源: api.github.com
安装
brew install as-treelocal Homebrew formula metadata
sudo port install as-treeMacPorts ports tree · sysutils/as-tree/Portfile · 来源: api.github.com
nix profile install nixpkgs#as-treenixpkgs package indexes · pkgs/by-name/as/as-tree/package.nix · 来源: api.github.com
概览
Print a list of paths as a tree of paths
历史
as-tree is a small Rust command-line filter that reads paths from a file or stdin and prints them as a tree. It complements path producers such as `find` and `fd` rather than replacing them.
The public repository was created in May 2020, with initial GitHub releases published the same month. The README states that the tool was inspired by a feature request in `fd`, and that it builds under both Cargo and Bazel.
Its README is deliberately narrow: pass a list of paths in, get a tree display out. Development notes document Bazel-based tests and fixture files, while installation notes point to pre-built releases, Cargo, and source builds.
The provided package-manager facts list Homebrew, MacPorts, and Nix, which is a strong adoption signal for a tiny CLI filter. GitHub repository metadata reported hundreds of stars at research time.
The tool's adoption niche is among users who already compose shell pipelines. Instead of adding complex filtering options to `tree`, it lets `find` or `fd` decide what paths exist and uses `as-tree` only for presentation.
Common usage is `find . -name '*.txt' | as-tree` or `fd --exclude test | as-tree`. The CLI can also read a filename argument, print full path prefixes with `-f`, and control color with `--color always|auto|never`.
Because it is a filter, it fits neatly into scripts and aliases where users want `tree`-like output after a more expressive file search.
as-tree is package-nerd candy because it does one thing that Unix pipelines want: transform line-oriented path streams into tree-shaped output. It is also a small Rust utility that ships through multiple package managers despite a minimal feature set.
The contrast with `tree` is the point: no large option surface is needed when existing tools already produce the right list.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
as-tree | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/jez/as-tree
安装元数据
| 软件包键 | brew:as-tree |
|---|---|
| 版本 | 0.12.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/as-tree |
| 主页 | https://github.com/jez/as-tree |
| 仓库 | https://github.com/jez/as-tree |
| 上游文档 | https://github.com/jez/as-tree#readme |
| 许可证 | BlueOak-1.0.0 |
| 源码归档 | https://github.com/jez/as-tree/archive/refs/tags/0.12.0.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | as-tree |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
as-tree
nix profile install nixpkgs#as-treeas-tree
sudo port install as-tree来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.