软件简介

sila 是使用 Rust 编写的简易终端多路复用器,通过 YAML 格式的配置文件配置项目。

sila 发音为 [shila],在巴利语中代表「道德」。

基本用法

> help

list                      List the terminal names.
pin     <term1> <term2>   Pin one or multiple terminals separated by space. Following commands will be run on top of pinned ones.
unpin   [term1]           Unpin all terminals if no argument is provided or the specific ones.
count                     Count the number of terminals.
exit                      Close the application.

功能

Piping 命令

> cat Cargo.toml | grep version

[PJ1]> cat Cargo.toml | grep version
version = "0.1.0"

[PJ2]> cat Cargo.toml | grep version
version = "0.2.0"
serde = { version = "1.0", features = ["derive"] }

[PJ3]> cat Cargo.toml | grep version
version = "0.1.0"

Pinning 终端

  • pin/unpin terminals and run a simple command only in a couple of terminals
> pin PJ1 PJ3
> ... run {command}
[PJ1]> {command}
[PJ3]> {command}

> unpin PJ1
>... run {command}
[PJ3]> {command}
...

Helper 命令

> help

list                      List the terminal names.
pin     <term1> <term2>   Pin one or multiple terminals separated by space. Following commands will be run on top of pinned ones.
unpin   [term1]           Unpin all terminals if no argument is provided or the specific ones.
count                     Count the number of terminals.
exit                      Close the application.
展开阅读全文

代码

的 Gitee 指数为
超过 的项目

评论 (0)

加载中
更多评论
暂无内容
没有更多内容
加载失败,请刷新页面
点击加载更多
加载中
下一页
暂无内容
0 评论
1 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部