Crush 是一个命令行 shell,同时也是功能强大的现代编程语言。
AI 翻译
Crush is a command line shell that is also a powerful modern programming language.
开发工具RustGitHub @liljencrantz自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
正在加载完整 README。 以下为已保存的摘录。
Crush is an attempt to make a traditional command line shell that is also a
modern programming language. It has the features one would expect from a modern
programming language like a type system, closures and lexical scoping, but with
a syntax geared toward both batch and interactive shell usage.查看完整 README ↗Crush is an attempt to make a traditional command line shell that is also a modern programming language. It has the features one would expect from a modern programming language like a type system, closures and lexical scoping, but with a syntax geared toward both batch and interactive shell usage.
docs/builtins.html,
which GitHub shows as raw source rather than rendering.)brew install opensslbrew install protobufxcode-select --installsudo apt updatesudo apt install build-essential git curl pkg-config libssl-dev libdbus-1-dev libsystemd-dev protobuf-compiler-grpcInstall Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
The installer adds ~/.cargo/bin to your path in new shells. To use it in the
shell you installed it from, run
. "$HOME/.cargo/env"
clone this repository,
git clone https://github.com/liljencrantz/crush.git
and run
cd crush && cargo install --path .
and you should have a working binary to try out in ~/.cargo/bin.
That directory should already be in your path, so just write crush to run
the shell.
Have fun!