登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
我知道了
查看详情
登录
注册
Gitee 接口下线公告:检查是否已Star和列出指定Star仓库用户等4个接口将在7月3日下线
代码拉取完成,页面将自动刷新
开源项目
>
程序开发
>
常用工具包
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
2
Star
25
Fork
2
swiftycode
/
CLItheme
代码
Issues
1
Pull Requests
0
Wiki
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
未来版本功能计划(v2.0+)
已完成
#IA5RII
swiftycode
拥有者
创建于
2024-06-16 16:11
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。 ## `v2.0`正式版 - [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序** - [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题** - [x] **优化`set_local_themedef`函数中的文件夹命名机制** - [x] **重写`set_local_themedefs`函数,不生成多个文件夹** - [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据** - [x] **重写/优化`check_regenerate_db`内部流程** - [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版** - [x] **重命名`get-current-theme-info`为`show-info`** - [x] **重命名`unset-current-theme`为`remove-theme`** ## `v2.1`版本 - **区分stdout/stderr并实现保留原输出顺序输出** - **`clitheme-exec`支持Windows系统** - 很多终端机制和Unix不一样,需要单独适配 - 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则 - 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能 ```plaintext set_options linebounds [substitute_regex] |This is some text | locale:default | Some other text| [/substitute_regex] ``` - 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容 ```plaintext # ... # 从"snippets/some-code.ctsnippet.txt"读取内容 @source snippets some-code.ctsnippet.txt # ... ``` - 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息 ```plaintext $ clitheme apply-theme --spec ctfilespec.txt ``` - 替换规则中的匹配内容支持多行段落 - 命令限制规则支持使用正则表达式 ```plaintext [filter_commands_regex] (cargo|cargo-alt) run .+ --options=([^\s]+) [/filter_commands_regex] filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+) ``` - 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则 ```plaintext [in_string_lines] Some line content # [subst_regex/string]... [/in_string_lines] [in_regex_lines] Some regex content # [subst_regex]... [/in_regex_lines] ``` - 新增`substchar`选项,通过符号表达式插入特殊字符 ```plaintext set_options substchar # ... locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}} ``` - `clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示 - `clitheme-exec --debug-color`中为用户输入用灰色显示 ## 未来版本 - (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令 - (可能会添加)语法错误信息显示行内容 ```plaintext Syntax error: option "leadspaces" not allowed here at line 13 13 | [/filter_commands] {{options}} | After variable substitution: 13 | [/filter_commands] leadspaces:4 | ^^^^^^^^^^^^ ``` ```plaintext Syntax error: not enough arguments for "[substitute_regex]" at line 16 16 | [substitute_regex] | ^? ``` - **(可能会添加)提示信息支持颜色输出** - (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。 ## `v2.0`正式版 - [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序** - [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题** - [x] **优化`set_local_themedef`函数中的文件夹命名机制** - [x] **重写`set_local_themedefs`函数,不生成多个文件夹** - [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据** - [x] **重写/优化`check_regenerate_db`内部流程** - [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版** - [x] **重命名`get-current-theme-info`为`show-info`** - [x] **重命名`unset-current-theme`为`remove-theme`** ## `v2.1`版本 - **区分stdout/stderr并实现保留原输出顺序输出** - **`clitheme-exec`支持Windows系统** - 很多终端机制和Unix不一样,需要单独适配 - 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则 - 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能 ```plaintext set_options linebounds [substitute_regex] |This is some text | locale:default | Some other text| [/substitute_regex] ``` - 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容 ```plaintext # ... # 从"snippets/some-code.ctsnippet.txt"读取内容 @source snippets some-code.ctsnippet.txt # ... ``` - 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息 ```plaintext $ clitheme apply-theme --spec ctfilespec.txt ``` - 替换规则中的匹配内容支持多行段落 - 命令限制规则支持使用正则表达式 ```plaintext [filter_commands_regex] (cargo|cargo-alt) run .+ --options=([^\s]+) [/filter_commands_regex] filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+) ``` - 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则 ```plaintext [in_string_lines] Some line content # [subst_regex/string]... [/in_string_lines] [in_regex_lines] Some regex content # [subst_regex]... [/in_regex_lines] ``` - 新增`substchar`选项,通过符号表达式插入特殊字符 ```plaintext set_options substchar # ... locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}} ``` - `clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示 - `clitheme-exec --debug-color`中为用户输入用灰色显示 ## 未来版本 - (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令 - (可能会添加)语法错误信息显示行内容 ```plaintext Syntax error: option "leadspaces" not allowed here at line 13 13 | [/filter_commands] {{options}} | After variable substitution: 13 | [/filter_commands] leadspaces:4 | ^^^^^^^^^^^^ ``` ```plaintext Syntax error: not enough arguments for "[substitute_regex]" at line 16 16 | [substitute_regex] | ^? ``` - **(可能会添加)提示信息支持颜色输出** - (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
评论 (
0
)
swiftycode
创建了
任务
swiftycode
添加了
新功能
标签
swiftycode
添加了
dev-todo-v2.0
标签
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
swiftycode
将
优先级
设置为
主要
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- **(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
**(可能会添加)新增`clith
e
me-bash`快捷功能;设置`bash`以自动使用`clith
e
m
e
-
e
xec`执行每一条命令**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
(可能会添加)新增`clithem
e
-bash`快捷功能;设置`bash`以自动使用`clithem
e
-
e
x
e
c`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0
`正式版
-
`clitheme-exec`支持Windows系统
-
很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
``
`
p
l
aintext
{manpage_section}
[file_cont
e
nt] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_
c
ontent]
{/manpag
e_
sec
t
ion}
```
-
新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_s
e
ct
i
on}
```
##
未来版本
- (可能会添加)新增`
c
l
i
theme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0
-beta2`功能与修复
-
[x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
-
[x]
修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
## `v2.0`正式版
-
`
c
l
itheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/std
e
rr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_se
c
tion}
[fil
e_
con
t
ent] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
-
新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[includ
e
_f
i
le] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_se
c
t
i
on}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的的"正在处理文件"提示会在一行内显示
## `v2.0`正式版
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的
的"正在处理文件"提示会在一行内显示
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的
"正在处理文件"提示会在一行内显示
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [ ] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中的相等,有关的匹配规则不会被应用的问题
## `v2.0`正式版
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [ ] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中
的相等,有关的匹配规则不会被应用的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [ ] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中
相等,有关的匹配规则不会被应用的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/std
e
rr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
``
`
pl
a
intext
{manpage_section}
[f
i
le_content] man1 example.1
[file_conte
n
t] man1 zh_CN example.1
[file_content] man1
zh_CN.UTF-8 example.1
<文件内容>
[
/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pla
in
text
{manpage_section}
[include_file] files pages example.1
(as) ma
n
1 example.1
(as) man1 zh_CN ex
a
mple.1
(as) man1
zh_CN.UTF-8 example.1
[/include_file]
{/manpage_
s
ection}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [
x
] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在匹配内容上
## `v2.0`正式版
-
`clitheme-ex
e
c`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
-
`
{m
a
npage_section}`中的`[file_content]`支持同时指定多个文件:
```pla
i
ntext
{manpage_sectio
n
}
[file_content] man1
example.1
[file_content] man1 zh_CN example.1
[
file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[
in
clude_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_sectio
n
}
[include_file] files p
a
ges example.1
(as) man1
example.1
(as) man1 zh_CN example.1
(a
s
) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在
匹配内容
上
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在
路径名称
上
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x]
`clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x]
定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x]
定义文件中`{substrules_section}`
的
`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件
中`{entries_
s
ection}`的
`
[/entry]`后支持指定`substvar`选项,会应用在路径名称上
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/std
e
rr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
``
`
pl
a
intext
{manpage_section}
[f
i
le_content] man1 example.1
[file_conte
n
t] man1 zh_CN example.1
[file_content] man1
zh_CN.UTF-8 example.1
<文件内容>
[
/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pla
in
text
{manpage_section}
[include_file] files pages example.1
(as) ma
n
1 example.1
(as) man1 zh_CN ex
a
mple.1
(as) man1
zh_CN.UTF-8 example.1
[/include_file]
{/manpage_
s
ection}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x]
修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x]
修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x]
`clitheme apply-theme`指令中所有
的
"正在处理文件"提示会在一行内显示
- [x] 定义文件
`{substrule
s
_section}
`
:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
## `v2.0`正式版
-
`clitheme-ex
e
c`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
-
`
{m
a
npage_section}`中的`[file_content]`支持同时指定多个文件:
```pla
i
ntext
{manpage_sectio
n
}
[file_content] man1
example.1
[file_content] man1 zh_CN example.1
[
file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[
in
clude_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_sectio
n
}
[include_file] files p
a
ges example.1
(as) man1
example.1
(as) man1 zh_CN example.1
(a
s
) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme updat
e-
theme --edit
`
命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [ ] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
## `v2.0`正式版
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
(可能会添加)新增`clithem
e-
bash`快捷功能;设置
`
bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序再执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [ ] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序
再
执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [ ] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序
在
执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [ ] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme updat
e-
theme --edit
`
命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
`[fi
l
ter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo
`
等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [ ] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [ ] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
## `v2.0`正式版
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
(可能会添加)新增`clithem
e-
bash`快捷功能;设置
`
bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`c
l
itheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
`[filter_commands]
`
和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [
x
] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [
x
] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
##
`v2.0`正式版
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_sec
t
ion}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[f
i
le_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[
/file_content]
{/manpag
e_
sec
t
ion}
```
-
新增`[include_file
]
`语法,允许指定多个目标文件路径:
```
plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) ma
n
1 zh_CN.UTF-8 example.1
[
/include_file]
{/manpage_
s
ection}
```
##
未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [ ] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/s
t
derr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pla
i
ntext
{manpage_section}
[
file_content] man1 example.1
[fil
e_
con
t
ent] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content
]
{/manpage_section}
```
-
新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_sectio
n
}
[
include_file] files pages example.1
(a
s
) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [ ] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
##
`v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `
{manpag
e
_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_s
e
ction}
[file_content] man1 example.1
[f
i
le_content] man1 zh_CN example.1
[file_conte
n
t] man1 zh_CN.UTF-8 example.1
<文件内容>
[
/file_content]
{/manpag
e_
sec
t
ion}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) ma
n
1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_
s
ection}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shel
l
、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [ ] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [ ] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [ ] `clitheme-exec --debug`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
##
`v2.0`正式版
- `
clithem
e
-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{m
a
npag
e
_section}`中的`[file_content]`支持同时指定多个文件:
```pla
i
ntext
{manpage_sectio
n
}
[file_content] man1 example.1
[
file_content] man1 zh_CN example.1
[fil
e_
con
t
ent] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_sectio
n
}
[include_file] files pages example.1
(as) man1 example.1
(a
s
) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
(可能会添加)新增`c
l
itheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [ ] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [ ] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [ ] `clitheme-exec --debug`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme updat
e-
theme --edit
`
命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
`[fi
l
ter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo
`
等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [ ] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [ ] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [ ] `clitheme-exec --debug`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [todo] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
(可能会添加)新增`clithem
e-
bash`快捷功能;设置
`
bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`c
l
itheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
`[filter_commands]
`
和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [ ] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [ ] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [ ] `clitheme-exec --debug`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [
todo] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [ ] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [ ] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [ ] `clitheme-exec --debug`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [
] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [] `clitheme-exec --debug`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [
x
] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [
x
] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [
x
] `clitheme-exec --debug`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [
x
] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec --debug
`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: T
r
ue`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec --debug
-foreground`会显示当前进程前台状态的更改,使用`! Foreground: False`或`! Fo
r
eground: True`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec
--debug-foreground`会显示当前进程前台状态的更改,使用`! Foreground: Fals
e
`或`! Foreground: True`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec
`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! For
e
ground: False`或`! Foreground: True`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- `[filter_commands]`和`filter_command`新匹配选项:当程序在执行其他进程时,不进行输出替换
- 可以在shell、`sudo`等其他“命令执行器”上使用
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
-
`clitheme-ex
e
c`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- 区分stdout/stderr并实现保留原输出顺序输出
-
`
{m
a
npage_section}`中的`[file_content]`支持同时指定多个文件:
```pla
i
ntext
{manpage_sectio
n
}
[file_content] man1
example.1
[file_content] man1 zh_CN example.1
[
file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[
in
clude_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_sectio
n
}
[include_file] files p
a
ges example.1
(as) man1
example.1
(as) man1 zh_CN example.1
(a
s
) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
-
区分stdout/std
e
rr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
``
`
pl
a
intext
{manpage_section}
[f
i
le_content] man1 example.1
[file_conte
n
t] man1 zh_CN example.1
[file_content] man1
zh_CN.UTF-8 example.1
<文件内容>
[
/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pla
in
text
{manpage_section}
[include_file] files pages example.1
(as) ma
n
1 example.1
(as) man1 zh_CN ex
a
mple.1
(as) man1
zh_CN.UTF-8 example.1
[/include_file]
{/manpage_
s
ection}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x]
优化命令限制条件内容相同但匹配机制选项不同的情况处理
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme updat
e-
theme --edit
`
命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x]
定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
## `v2.0`正式版
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clithem
e-
bash`快捷功能;设置
`
bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme updat
e-
theme --edit
`
命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [ ] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clithem
e-
bash`快捷功能;设置
`
bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [ ] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [ ] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [
x
] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manp
a
ge_section}
[file_conte
n
t] man1 example.1
[file_content] man1
zh_CN
e
xample.1
[file_content] man1 zh_CN
.UTF-8
e
xample.1
<文件内容>
[/file_content]
{/manpage_sectio
n
}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manp
a
ge_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1
zh_CN
e
xample.1
(as) man1 zh_CN
.UTF-8
e
xample.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme updat
e-
theme --edit
`
命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
- [ ] 定义文件:修复在`{manpage_section}`中输入未知语法词语不会提示错误的问题
## `v2.0`正式版
-
区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pl
a
intext
{manpage_sectio
n
}
[file_content] man1
exampl
e
.1
[file_content] man1 zh_CN
exampl
e
.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_conte
n
t]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```pl
a
intext
{manpage_section}
[include_file] files pages example.1
(as) man1
exampl
e
.1
(as) man1 zh_CN
exampl
e
.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clithem
e-
bash`快捷功能;设置
`
bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
- [] 定义文件:修复在`{manpage_section}`中输入未知语法词语不会提示错误的问题
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
- [
x
] 定义文件:修复在`{manpage_section}`中输入未知语法词语不会提示错误的问题
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
- [x] 定义文件:修复在`{manpage_section}`中输入未知语法词语不会提示错误的问题
## `v2.0`正式版
- 区分stdout/s
t
derr并实现保留原输出顺序输出
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```pla
i
ntext
{manpage_section}
[
file_content] man1 example.1
[fil
e_
con
t
ent] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content
]
{/manpage_section}
```
-
新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_sectio
n
}
[
include_file] files pages example.1
(a
s
) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
- [x] 定义文件:修复在`{manpage_section}`中输入未知语法词语不会提示错误的问题
- `{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_sec
t
ion}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[f
i
le_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[
/file_content]
{/manpag
e_
sec
t
ion}
```
-
新增`[include_file
]
`语法,允许指定多个目标文件路径:
```
plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) ma
n
1 zh_CN.UTF-8 example.1
[
/include_file]
{/manpage_
s
ection}
```
##
`v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `
clithem
e
apply-theme
`
指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
-
[x] 修复了`{e
nt
ries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
-
[x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
-
[x] 全面修复`clitheme-exec`中的终端输出问题
-
修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x]
`clitheme-
e
xec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
-
[x] 定义文件:修复在`{manpag
e
_section}`中输入未知语法词语不会提示错误的问题
-
`{manpage_section}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[fil
e_
con
t
ent] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/fi
l
e_content]
{/manpage_section}
```
- 新增`[include_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_f
i
le] files pages example.1
(as) man1 example.1
(as)
m
an1 zh_CN
e
xample.1
(as) man1 zh_CN.UTF-8 example.1
[/include_f
i
le]
{/manpage_section}
```
##
`v2.0`正式版
-
区分stdout/stderr并实现保留原输出顺序输
出
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_opt
i
ons linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
### 新功能
- [x] `
{manpag
e
_section}`中的
`
[file_content]`支持同时指定多个文件:
```plaintext
{manpage_section}
[file_co
nt
ent] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/file_content]
{/manpage_section}
```
- [x]
新增`[includ
e
_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] fil
e
s pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpag
e_
sec
t
ion}
```
-
[x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
-
适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
-
[x] `c
l
itheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
### 问题修复与改进
-
[x] 修复了使用`cl
i
theme-man`时按下CTRL-C会导致程序意外中断的问题
-
[x]
修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
-
[x]
`clithe
m
e apply-th
e
me`指令中所有的"正在处理文件"提示会在一行内显示
-
[x]
定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
-
[x] 修复了`{entr
i
es_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
-
[x] 定义文件:修复了使用多行内容段落时可能会意外
出
现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
- [x] 定义文件:修复在`{manpage_section}`中输入未知语法词语不会提示错误的问题
## `v2.0`正式版
-
区分stdout/stderr并实现保留原输出顺序输出
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`cl
i
theme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0
-beta2`功能与修复
**这些改动存在于最新的开发版本(最新的仓库代码)**
##
# 新功能
-
[x] `{manpag
e
_sect
i
on}`中的`[file_content]`支持同时指定多个文件:
```plaintext
{manpage_s
e
ction}
[file_content] man1 example.1
[file_content] man1 zh_CN example.1
[file_content] man1 zh_CN.UTF-8 example.1
<文件内容>
[/fil
e
_content]
{/man
p
age_
s
ection}
```
- [x] 新增`[includ
e
_file]`语法,允许指定多个目标文件路径:
```plaintext
{manpage_section}
[include_file] files pages example.1
(as) man1 example.1
(as) man1 zh_CN example.1
(as) man1 zh_CN.UTF-8 example.1
[/include_file]
{/manpage_section}
```
- [x] 定义文件中`{substrules_section}`中的`filter_command`和`[filter_commands]`新增`foregroundonly`选项;仅在当前进程前台运行时应用替换规则
- 适用于shell等命令处理器程序;它们在执行进程时会转移前台进程
- [x] `clitheme-exec`:新增`--debug-foreground`选项;会通过提示信息显示当前进程前台状态的更改,使用`! Foreground: False`或`! Foreground: True`显示
- [x] 定义文件中`{substrules_section}`的`[/substitute_string]`或`[/substitute_regex]`后支持指定`substesc`和`substvar`选项,会应用在匹配内容上
- [x] 定义文件中`{entries_section}`的`[/entry]`后支持指定`substvar`选项,会应用在路径名称上
- [x] 提示信息中的名称如果有控制符号或其他不可见的字符,这些字符将会以明文输出
### 问题修复与改进
- [x] 修复了使用`clitheme-man`时按下CTRL-C会导致程序意外中断的问题
- [x] 修复了在Windows命令提示符下,终端控制字符会意外地显示在屏幕上的问题
- [x] `clitheme apply-theme`指令中所有的"正在处理文件"提示会在一行内显示
- [x] 定义文件`{substrules_section}`:修复了当用户输入的命令与在带有`strictcmdmatch`命令匹配选项的命令限制规则中相等,有关的匹配规则不会被应用的问题
- [x] 修复了`{entries_section}`中的“同时指定多个定义名称”功能无法正常使用的问题
- [x] 全面修复`clitheme-exec`中的终端输出问题
- 修复了使用`clitheme-exec`执行某些命令时,可能会出现`No access to TTY`或`No job control`等错误信息的问题
- 修复了使用`clitheme-exec`执行`fish`时,会出现`Inappropriate ioctl for device`的错误提示并且会异常退出的问题
- 修复了部分程序的输出不会被`clitheme-exec`读取并处理(而是直接输出在终端上)的问题
- [x] 定义文件:优化命令限制条件内容相同但匹配机制选项不同的情况处理
- [x] 定义文件:修复了使用多行内容段落时可能会意外出现「选项不允许在这里指定」的错误提示
- [x] 定义文件:修复并优化变量内容替换功能
- [x] 定义文件:修复在`{manpage_section}`中输入未知语法词语不会提示错误的问题
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0
`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
##
未来版本
-
`clitheme-ex
e
c`支持W
i
ndows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clith
e
me update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaint
e
xt
set_o
p
tion
s
linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_reg
e
x]
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
##
未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --
e
dit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocale:d
e
fault | Some other text|
[/substitute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-co
d
e.ctsnippet.txt"读取内容
@
s
ource snipp
e
ts some-code.ctsnipp
e
t.txt
# ...
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
##
下一个版本
-
段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar subst
e
sc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## 未来版本
-
`c
l
itheme-
e
xec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lineboun
d
s
[
s
ubstitute_r
e
gex] |This is some t
e
xt |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 下一个版本
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clith
e
m
e
update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocal
e
:default | Some other text|
[/subs
ti
tute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"sn
i
pp
e
ts/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 下一个版本
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08{{ESC}}[K`
##
未来版本
-
`clithem
e
-
e
xec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```p
l
aint
e
xt
set_op
ti
ons linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```pla
i
nt
e
xt
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 下一个版本
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08
{{ESC}}[K`
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 下一个版本
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08
\x1b[K`
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
## 下一个版本
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/subs
t
itute_r
e
gex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
##
未来版本
-
`clithem
e
-
e
xec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```p
l
aint
e
xt
set_op
ti
ons linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```pla
i
nt
e
xt
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `cli
t
heme-ex
e
c`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clith
e
m
e
update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocal
e
:default | Some other text|
[/subs
ti
tute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"sn
i
pp
e
ts/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
## 未来版本
- `cl
i
them
e
-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plain
t
ext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plain
t
ext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!requ
i
re_v
e
rsion 2.0
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`cli
t
heme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```
plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substi
t
ute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 语法错误信息显示行内容
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
## 未来版本
-
`
c
l
itheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`clithe
m
e update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_op
t
ions linebounds
[substitute_rege
x
] |This is some text |
locale:default | Some other text|
[/subst
it
ute_regex]
```
- 支持
定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snipp
e
ts/some-code.ctsnippet.tx
t
"读取内容
@so
u
rce snippets some-code.ctsnippet.txt
# ...
```
- 语法错误信息显示行内容
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
``
`
p
l
aintext
$
clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading fro
m
standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `cli
t
heme-exec`支持Windows系统
- 很多终端机制和Uni
x
不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- 新增`cl
it
heme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持
使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
local
e
:default | Some other
t
ext|
[/s
u
bstitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 语法错误信息显示行内容
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 语法错误信息显示行内容
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
-
新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec files.ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec
files.ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec
ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
(下一个版本)
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
-
`
c
l
itheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_opt
i
ons linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```p
l
aint
e
xt
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
``
`
p
l
aintext
==>
Processing files...
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
- 新增`cl
i
theme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocal
e
:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
-
段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Back
s
pace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
-
添加`!require_version`定义,强制要求`clitheme`最低版本
```
plaintext
!require_version 2.0
``
`
-
读取文件时显示提示信息,并且检测到读取
`
stdin`时显示提示
```plaintext
$ clith
e
me apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
-
更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
-
`
c
l
itheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
- 新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```p
l
aint
e
xt
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
-
正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar sub
s
tesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
-
`
clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
-
添加`!require_version
`
定义,强制要求`clitheme`最低版本
```plaintext
!requir
e
_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$
clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
``
`
p
l
aintext
==>
Processing files...
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocal
e
:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```
plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```pla
i
ntext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: unexpected 'nonexistent' on line 1
1 | nonexistent phrase here
| ^^^^^^^^^^^
```
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```
plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: unexpected 'nonexistent' on line 1
1 | nonexistent phrase here
| ^^^^^^^^^^^
```
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: unexpected 'nonexistent' on line 1
1 | nonexistent phrase here
| ^^^^^^^^^^^
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error:
unexpected 'nonexisten
t
' on line 1
1
| nonexistent phra
s
e
here
| ^^^^^^^^^^^
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error:
option 'leadspaces' no
t
allowed here at line 13
1
3 | [filter_command
s
]
{{options}}
| After variable substitution:
13 | [filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option 'leadspaces' not allowed here at line 13
13 | [
filter_com
m
ands] {
{
options}
}
| After variable substitution:
13 | [
filter_com
m
ands] leadspaces:4
| ^^^^^^^^^^^^
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option 'leadspaces' not allowed here at line 13
13 | [
/filter_co
m
mands]
{
{options
}
}
| After variable substitution:
13 | [
/filter_co
m
mands] leadspaces:4
| ^^^^^^^^^^^^
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option 'leadspaces' not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
|
^
^^^^^^^^^^^
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option 'leadspaces' not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^
^
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option
'
leadspaces
'
not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clithem
e
update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plain
t
ext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filesp
e
c`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- 区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option
"
leadspaces
"
not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitut
e
_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```
plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substi
t
ute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets som
e
-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
-
区分stdout/stderr并实现保留原输出顺序输出
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
#
.
..
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
-
添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/
s
tdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Af
t
er variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other
text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
```
plaintext
(输出读取出现的分段以"|"表示)
原始输出内容:Some exam|ple text h|ere
v2.0-beta2:Some example text h|ere
现在:Some example text here
```
##
`v2
.
0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$
cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{option
s
}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$
clitheme apply-theme /dev/stdin
==>
Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintex
t
==>
Processing files...
```
## 未来版本
-
`clitheme-exec`支持Windows系统
-
很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```pla
i
ntext
Syntax error: not enough arguments
for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
```plaintext
(输出读取出现的分段以"|"表示)
原始输出内容:Some exam|ple t
e
x
t
h|ere
v2.0-beta2:Some example t
e
x
t
h|ere
现在:Some example t
e
x
t
here
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> 原始输出内容:`Some exam|pl
et
ext h|ere`
> v2.0-beta2:`Some exampl
et
ext h|ere`
> 现在:`Some exampl
et
ext here`
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
>
原始输出内容:`Some exam|ple text h|ere`
>
v2.0-beta2:`Some exa
m
pl
e
text h|
e
re`
>
现在:`Some example text here`
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
>
**原始输出内容**:`Some exam|ple text h|ere`
>
**`v2.0-beta2`**:`So
m
e
e
xample t
e
xt h|ere`
>
**现在**:`Some example text here`
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出
内容
**:`Some exam|ple text h|ere`
> **`v2.0-beta2`**:`Some example text h|ere`
> **现在**:`Some example text here`
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
# 未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出
数据
**:`Some exam|ple text h|ere`
> **`v2.0-beta2`**:`Some example text h|ere`
> **现在**:`Some example text here`
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
#
未来会添加的功能
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
-
[ ] 更好的处理读取一行输出时出现多余2个分段的情况
>
(输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> **`v2.0-beta2`**:`Some example text h|ere`
> **现在**:`Some example text here`
## `v2.0`正式版
- **区分stdou
t
/stderr并实现保留原输出顺序输出**
-
正常的输送stdin管道内容到应用程序
```plaintext
$
cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/subs
t
itute_r
e
gex] {{options}} endmatchhere
```
- `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!
re
qui
r
e_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
-
读取文件时显示提示信息,并且检测到读取`st
d
in`时显示提示
```plaintext
$ clithem
e
apply-
t
heme /dev/
s
tdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
##
未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintex
t
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands]
{{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```p
l
aint
e
xt
set_op
ti
ons linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```pla
i
nt
e
xt
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
#
# 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
>
(输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
>
**现在**:`Some example text here`
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintex
t
$
cat file.py|clitheme-exec python3
```
-
段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- `cli
t
heme-ex
e
c`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!requi
re
_ve
r
sion 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$
clitheme apply-theme /
d
ev/stdin
==> Reading file (1/1)
Reading from standard input
Input fil
e
conten
t
here; pre
s
s CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Af
t
er variable substitution:
13
| [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocal
e
:default | Some other text|
[/subs
ti
tute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"sn
i
pp
e
ts/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
##
`v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plain
t
ext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[subst
i
tute_regex] <...>
# ...
[
/substitute_regex] {{options}} endmatchhere
```
-
`
clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [ ] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [ ] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送s
t
din管道内容到应用程序
```
plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```pla
i
ntext
setvar:options substvar substesc
[
substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
``
`
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
## `v2.0`正式版
- **区分stdou
t
/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
-
段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!requ
i
re_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
-
读取文件时显示提示信息,并且检测到读取
`
stdin`时显示提示
```plaintext
$ clith
e
me apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
-
更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [
x
] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [
x
] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintex
t
==> Processing files...
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:opt
i
ons substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
-
添加`!require_version
`
定义,强制要求`clitheme`最低版本
```plaintext
!requir
e
_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$
clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaint
e
xt
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:op
t
ions substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaint
e
xt
$ clitheme app
l
y-theme /dev/stdin
==> Reading file (1/1)
Reading from s
t
a
n
dard input
Input file content here; press CTRL-D when finished
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
正常的输送stdin管道内容到应用程序
```plaintext
$ cat fil
e
.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitu
t
e_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clithem
e
apply-theme /dev/stdin
==> Reading fi
l
e (1/1)
Reading from standard input
Input file con
t
e
n
t here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
## `v2.0
`
正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plain
t
ext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[subst
i
tute_regex] <...>
# ...
[
/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Read
i
ng from standard input
Input file cont
e
nt here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands]
leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复
`
get-current-theme-info`指令输出可能会出现错误顺序的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送s
t
din管道内容到应用程序
```
plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```pla
i
ntext
setvar:options substvar substesc
[
substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```
plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ cl
i
theme apply-theme /dev/stdin
==> Reading fil
e
(1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands]
{{options}}
|
After
variable
substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`
指令输出可能会出现错误顺序的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`
和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Af
t
er variable substitution:
13
| [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocal
e
:default | Some other text|
[/subs
ti
tute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"sn
i
pp
e
ts/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
##
未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintex
t
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands]
{{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```p
l
aint
e
xt
set_op
ti
ons linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```pla
i
nt
e
xt
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
## `v2.0`正式版
- **区分stdou
t
/stderr并实现保留原输出顺序输出**
-
正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [ ] 正常的输送stdin管道内容到应用程序
```plaintex
t
$
cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [ ] 正常的输送stdin管道内容到应用程序
```plaint
e
xt
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:op
t
ions substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaint
e
xt
$ clitheme app
l
y-theme /dev/stdin
==> Reading file (1/1)
Reading from s
t
a
n
dard input
Input file content here; press CTRL-D when finished
```
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [ ] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat fil
e
.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitu
t
e_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clithem
e
apply-theme /dev/stdin
==> Reading fi
l
e (1/1)
Reading from standard input
Input file con
t
e
n
t here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [ ] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## 未来版本
-
`
clitheme-exe
c
`支持Windows系统
-
很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用
`
clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Aft
e
r variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```
plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default |
Some oth
e
r t
e
xt|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippe
t
s/som
e
-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```pla
i
nt
e
xt
$ clitheme a
p
ply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [ ] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
>
`
--debug-show
c
hars` > `--showchars`
>
`-
-
debug-nosubst` -> `--nosubst`
>
`--debug-foreground` -> `--foreground-stat
`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
-
`clitheme-
e
xec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: op
t
ion "leadspaces" not allowed here at line 13
13
|
[/filter_commands]
{{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme
update-them
e
--
e
dit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitu
t
e_reg
e
x]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"sn
i
pp
e
ts/some-code.ctsnippet.txt"读取内容
@source snip
p
ets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
将
优先级
从
主要
修改为
不指定
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [ ] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [ ] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [ ] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [ ] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [
x
] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [
x
] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [
x
] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
## `v2.0`正式版
- **区分stdou
t
/stderr并实现保留原输出顺序输出**
- 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clithem
e
apply-theme /dev/stdin
==> Reading fi
l
e (1/1)
Reading from standard input
Input file con
t
e
n
t here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
重命名`clith
e
me-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-
nosubst` -> `-
-
nosubst`
> `--debug-
f
o
reground`
-> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
-
重命名`substall`选项为`substallstreams`选项
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintex
t
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaint
e
xt
$ clitheme app
l
y-theme /dev/stdin
==> Reading file (1/1)
Reading from s
t
a
n
dard input
Input file content here; press CTRL-D when finished
```
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增`newlin
e
sonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-
showchars` > `
-
-showchars`
> `--debug-
n
o
subst` ->
`--nosubst`
> `--debug-foreground` -> `--foreground-stat`
-
`clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaint
e
xt
$ clitheme app
l
y-theme /dev/stdin
==> Reading file (1/1)
Reading from s
t
a
n
dard input
Input file content here; press CTRL-D when finished
```
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增`newlin
e
sonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-
showchars` > `
-
-showchars`
> `--debug-
n
o
subst` ->
`--nosubst`
> `--debug-foreground` -> `--foreground-stat`
-
`clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clithem
e
apply-theme /dev/stdin
==> Reading fi
l
e (1/1)
Reading from standard input
Input file con
t
e
n
t here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
重命名`clith
e
me-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-
nosubst` -> `-
-
nosubst`
> `--debug-
f
o
reground`
-> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
-
重命名`substall`选项为`substallstreams`选项
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项
,并且弃用(deprecate)先前选项
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Read
i
ng from standard input
Input file cont
e
nt here; press CTRL-D when finished
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增
`
newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
重命名`clitheme-exec`中的以下命令行选项:
>
`--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-
foreground` -> `--foreg
r
ound-stat`
-
`
clitheme-ex
e
c`中的`--debug
-
newlines`要求与`--debug`同时使用/指定
- 重命名`substall`选项为`substallstreams`选项,并且弃用(deprecate)先前选项
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [ ] 重命名`substall`选项为`substallstreams`选项
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```
plaintext
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ cl
i
theme apply-theme /dev/stdin
==> Reading fil
e
(1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
-
优化
`
foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
重命名`clitheme-exec`中的以下命令行选项:
> `--debug-
showchars` > `--showcha
r
s`
> `--debug-nosubst` -> `--nosubst`
>
`
--debug-for
e
ground` -> `
-
-foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [ ] 重命名`substall`选项为`substallstreams`选项
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_v
e
rsion`定义,强制要求`clitheme`最低版本
```plaint
e
xt
!require_version 2.0
```
- 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增`newlin
e
sonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-
showchars` > `
-
-showchars`
> `--debug-
n
o
subst` ->
`--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [ ] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [ ] 重命名`substall`选项为`substallstreams`选项
- [ ] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$
clitheme apply-theme /dev/stdin
==> Reading fil
e
(1/1)
Reading from standard input
Input fil
e
content here; press CTRL-D when finished
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
重命名`clith
e
me-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-
nosubst` -> `-
-
nosubst`
> `--debug-
f
o
reground`
-> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [] 重命名`substall`选项为`substallstreams`选项
- [] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [
x
] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [
x
] 重命名`substall`选项为`substallstreams`选项
- [
x
] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` > `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars`
> `-
-
showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars`
-> `
-
-showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
## `v2.0`正式版
-
**区分stdout/stder
r
并实现保留原输出顺序输出**
-
添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
新增
`
newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
>
`
--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
-
`clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## 未来版本
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [ ] 重命名`clitheme-exec`中的以下命令行选项:
>
`--debug-showcha
r
s` -> `--showchars`
>
`--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [ ] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
-
添加
`
!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
``
`
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
## 未来版本
-
`clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [ ] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [ ] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
## 未来版本
- `cli
t
heme-exec`支持Windows系统
- 很多终端机制和Uni
x
不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Af
t
er variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-th
e
me --spec ctfilespec.txt
```
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [ ] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [ ] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_op
t
ions linebounds
[substitute_rege
x
] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintex
t
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
- `clitheme-exec`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clithem
e
update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [ ] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [ ] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
-
`clithem
e
-
e
x
e
c`支持Windows系统
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [ ] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [ ] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clith
e
m
e
-
e
xec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [ ] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [ ] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
l
ocal
e
:default | Some other text|
[/subs
ti
tute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"sn
i
pp
e
ts/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Af
t
er variable substitution:
13
| [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [ ] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [ ] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```p
l
aint
e
xt
set_op
ti
ons linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
-
支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```pla
i
nt
e
xt
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintex
t
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands]
{{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
移除了
dev-todo-v2.0
标签
swiftycode
修改了
标题
原值
未来版本功能计划
新值
未来版本功能计划
(v2.0+)
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [
x
] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [
x
] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [ ] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [
x
] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands]
leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands]
{{options}}
|
After
variable
substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则
,
而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
-
frontend模块添加`set_local_themedefs`函数
,
支持同时指定多个定义文件
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
##
`v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- 优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
-
如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands]
leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [ ] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```
plaintext
!require_version 2.0
```
-
frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands]
{{options}}
|
After
variable
substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [ ] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
-
优化`foregroundonly`选项处理逻辑;应用于每一个替换规则,而不是单个命令限制规则
- 如果在命令限制规则中设置,切换/重置规则后取消设定该选项,除非之前设定过
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands]
{{options}}
|
After
variable
substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [ ] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
-
如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands]
leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [
x
] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
-
如果在首次没有设定
`
substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [ ] frontend模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
-
`frontend
`
模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [ ]
frontend模块添加`set_local_them
e
d
e
fs`函数,支持同时指定多个定义文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [ ]
`frontend`模块添加`set_local_th
e
m
e
defs`函数,支持同时指定多个定义文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
## `v2.0`正式版
- **区分stdou
t
/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintex
t
!
r
equire_v
e
rsio
n
2.0
```
- `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```
plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持
定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snipp
e
ts/some-code.ctsnippet.tx
t
"读取内容
@so
u
rce snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$
clithem
e
apply-them
e
--
s
pec c
t
filespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
|
^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme
update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [
x
] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.se
t
_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.se
t
_debugmode(False) # 对应debug_mode
f
r
ontend.s
e
t_la
n
g("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持
使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
local
e
:default | Some other
t
ext|
[/s
u
bstitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snipp
e
ts/some-cod
e
.ct
s
nippe
t
.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
##
未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error:
option
"leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
## `v2.0
`
正式版
- **区分stdou
t
/stderr并实现保留原输出顺序输出**
- 添加`!
re
qui
r
e_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [ ] 添加
`
!require_version`定义,强制要求`clitheme`最低版本
```plaintex
t
!requi
re
_ve
r
sion 2.0
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [ ] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [ ] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [ ] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [ ] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [ ] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [ ] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [ ] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [
x
] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [
x
] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
## 未来版本
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
**性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- `{header_section}`新增对`name`信息的要求(必须填写)
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
`{header_sec
t
ion}`新增对`name`信息的要求(必须填写)
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [ ] `{header_section}`新增对`name`信息的要求(必须填写)
## `v2.0`正式版
-
**区分stdout/s
t
derr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [ ] `{header_section}`新增对`name`信息的要求(必须填写)
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
**性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [ ] `{header_section}`新增对`name`信息的要求(必须填写)
- [ ] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [] `{header_section}`新增对`name`信息的要求(必须填写)
- [] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [
x
] `{header_section}`新增对`name`信息的要求(必须填写)
- [
x
] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
**性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [ ] `clitheme-exec`:新增数据库请求缓存,显著提升性能
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [ ] `clitheme-exec`:新增数据库请求缓存,显著提升性能
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
**性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [ ] `clitheme-exec`:新增数据库请求缓存,显著提升性能
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 在`locale:<locale>`语法中支持使用内容变量
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [] `clitheme-exec`:新增数据库请求缓存,显著提升性能
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 在`locale:<locale>`语法中支持使用内容变量
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [
x
] `clitheme-exec`:新增数据库请求缓存,显著提升性能
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
- 在`locale:<locale>`语法中支持使用内容变量
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
在`locale:<locale>`语法中支持使用内容变量
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
-
**性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
- 在`locale:<locale>`语法中支持使用内容变量
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
-
在`locale:<locale>`语法中支持使用内容变量
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
- **性能提升和改进**
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands]
leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
- [ ] 重要更改:`endmatchhere`选项现在仅适用于当前文件中的其他替换规则,不影响其他文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands]
{{options}}
|
After
variable
substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
- [] 重要更改:`endmatchhere`选项现在仅适用于当前文件中的其他替换规则,不影响其他文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```plaintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
- [
x
] 重要更改:`endmatchhere`选项现在仅适用于当前文件中的其他替换规则,不影响其他文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```p
laintext
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
- [x] 重要更改:`endmatchhere`选项现在仅适用于当前文件中的其他替换规则,不影响其他文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## 下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
> (输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some example text here`
- [x] `clitheme-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
- [x] 正常的输送stdin管道内容到应用程序
```plaintext
$ cat file.py|clitheme-exec python3
```
- [x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$ clitheme apply-theme /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input file content here; press CTRL-D when finished
```
- [x] 重命名`clitheme-exec`中的以下命令行选项:
> `--debug-showchars` -> `--showchars`
> `--debug-nosubst` -> `--nosubst`
> `--debug-foreground` -> `--foreground-stat`
- [x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
- [x] 调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
- [x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
- [x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```p
y
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
- [x] 重要更改:`endmatchhere`选项现在仅适用于当前文件中的其他替换规则,不影响其他文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
##
下一个版本
打勾的改动已经存在于最新开发版本(`v1.2_dev`分支的仓库代码)
- [x] 更好的处理读取一行输出时出现多余2个分段的情况
>
(输出读取出现的分段以`|`表示)
> **原始输出数据**:`Some exam|ple text h|ere`
> 之前版本:`Some example text h|ere`
> **现在**:`Some
e
xample text here`
-
[x] `c
l
ith
e
me-exec`:用户输入的Backspace不会被处理,并且不会在调试模式中输出
- 用户输入`\x08`:匹配输出中的`\x08 \x08`和`\x08\x1b[K`
- [x] 更改“生成数据”提示为“正在处理文件”
```plaintext
==> Processing files...
```
- [x] 修复`get-current-theme-info`和`update-theme`指令输出和数据处理可能会出现错误顺序的问题
-
[x] 正常的输送
s
tdin管道内容到应用程序
```plaintext
$
cat file.py|clitheme-exec python3
```
-
[x] 段落结尾的选项可以使用内容变量替代
```plaintext
setvar:options substvar substesc
[substitute_regex] <...>
# ...
[/substitute_regex] {{options}} endmatchhere
```
- [x] 重命名`substall`选项为`substallstreams`选项
- [x] 读取文件时显示提示信息,并且检测到读取`stdin`时显示提示
```plaintext
$
clitheme apply-th
e
me /dev/stdin
==> Reading file (1/1)
Reading from standard input
Input fil
e
content here; press CTRL-D when finished
```
-
[x]
重命名`clitheme-exec`中的以下命令行选项:
>
`--debug-showchars`
->
`--showchars`
>
`
--debug-nosubst` -> `--nosubst`
>
`
--debug-foreground` -> `--foreground-stat`
-
[x] `clitheme-exec`中的`--debug-newlines`要求与`--debug`同时使用/指定
-
[x]
调整字符串定义路径名称限制:添加更多非法字符和名称
- [x] 更改`foregroundonly`处理逻辑:该选项现可以为单个替换规则设定
- 如果在命令限制规则中设置,取消设定当前规则/切换到另一个规则后将重置为之前的全局设定
-
[x] `frontend`模块添加`set_local_themedefs`函数,支持同时指定多个定义文件
-
[x] `frontend`模块中添加设置全局变量的函数,对不同文件的调用保留单独的设置
```py
frontend.set_domain("com.example") # 对应domain_name
frontend.set_appname("example-app") # 对应app_name
frontend.set_subsections("example-subsection subsection-2") # 对应subsections
frontend.set_debugmode(False) # 对应debug_mode
frontend.set_lang("") # 对应lang(留空以使用系统语言)
frontend.set_disablelang(False) # 对应disable_lang
```
- [x] 添加`!require_version`定义,强制要求`clitheme`最低版本
```plaintext
!require_version 2.0
```
- [x] 如果在首次没有设定`substvar`选项时尝试调用定义的内容变量时,添加提示
- [x] `{header_section}`新增对`name`信息的要求(必须填写)
- [x] `clitheme-exec`:修复程序输出闲置时出现明显CPU占用的问题
- [x] `clitheme-exec`:新增数据库请求缓存,显著提升性能
- [x] 修复在多行段落中启用`substesc`选项时,内容变量中的`{{ESC}}`可能不会被处理的问题
- [x] 在`locale:<locale>`语法中支持使用内容变量
- [x] 重要更改:`endmatchhere`选项现在仅适用于当前文件中的其他替换规则,不影响其他文件
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
##
`v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex] |This is some text |
loca
l
e:d
e
fault | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```
plaintext
# ...
#
从"snippet
s
/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
#
...
```
-
支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clithem
e
-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaint
e
xt
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
``
`
``
`
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
## 未来版本
- **`cl
i
theme-exe
c
`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clithe
m
e-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_comma
nd
s] {{options}}
| After variable substitution:
13 | [/fi
l
ter_comm
a
nds] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error:
no
t
e
n
ough argum
e
nts for "[substitute_regex]" at line 16
1
6
| [
subs
t
itute_regex
]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_opt
i
ons subst
c
har
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0
m
, biang: {{[U00030edd]}}
```
## 未来版本
-
**`clitheme-exec`支持Wi
nd
ows系统**
-
很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`c
l
itheme-b
a
sh`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error:
op
t
io
n
"leadspac
e
s" not allowed here at line 13
1
3
| [
/fil
t
er_commands
]
{{options}}
|
After
variable
substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
-
**区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
-
新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
-
[ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
-
新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **
区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
-
新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands]
leadspaces:4
|
^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **
优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`newlinesonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands]
{{options}}
|
After
variable
substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error:
not
enough
arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`
newlineso
n
ly`选项,仅在上一个输出的结尾是newline(`\n
`
)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mB
o
ld
t
ext{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- **`cli
t
heme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Aft
e
r variable sub
s
titution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- 新增`
prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(
`
\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|carg
o
-al
t
) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plain
t
ext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
-
**`clithem
e
-exec`支持Window
s
系统**
- 很多终端机制和Unix不一样,需要单独适配
-
(可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: op
t
ion "leadspaces" not allowed here at line 13
13
|
[/filter_commands]
{{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
-
新增
`
prevn
e
wlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[
/filter_co
m
mands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
-
**
`
clith
e
me-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[
filter_com
m
ands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
## `v2.1`版本
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
## `v2.1`版本
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
## `v2.1`版本
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增
`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set
_
opt
i
ons sub
s
tchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: op
t
ion "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| Aft
e
r variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitut
e
_regex]" at line 16
16 | [substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-
t
heme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [ ] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增
匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in
_
str
i
ng_line
s
] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
-
新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options subs
t
char
#
...
locale:d
e
fault {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clith
e
me-exec`执行每一条命令
-
(可能会添加)语法错误信息显示行内容
```
plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable subs
t
itution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [
x
] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_r
e
gex/string]...
[/in_string_lines]
[
in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lin
e
s]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **区分stdout/stderr并实现保留原输出顺序输出**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lin
e
s] Some line content
# [subst_regex/string]...
[
/in_string_lines]
[in_regex_lines] Some regex content
# [subst_r
e
gex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **
区分stdout/stderr并实现保留原输出顺序输出**
- **
修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **
重写/优化`ch
e
ck_regenerate_db`内部流程**
- **
`clithe
m
e-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **优化`set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **
修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **
重写/优化`check_regenerate_db`内部流程**
- **
`clithem
e
-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **
重要更改:co
m
mand filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **
优化
`
set_local_themedef`函数中的文件夹命名机制**
- **
重写
`set_local_themedef
s`函数,不生成多个文件夹
*
*
- **
修改:`!require
_
version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **
重写/优化`check_regenerate_db`内部流程**
- **
`clithem
e
-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **
重要更改:co
m
mand filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **
`clitheme-ex
e
c`支持Windows系统*
*
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_r
e
gex/string]...
[/in_string_lines]
[
in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lin
e
s]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- **
添加
`
clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **
优化
`set_local_themedef
`函数中的文件夹命名机制*
*
- **
重写`set_local
_
themedefs`函数,不生成多个文件夹**
- **
修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **
重写/优化`ch
e
ck_regenerate_db`内部流程**
- **
`clithe
m
e-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **
区分stdout/std
e
rr并实现保留原输出顺序输出
*
*
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lin
e
s] Some line content
# [subst_regex/string]...
[
/in_string_lines]
[in_regex_lines] Some regex content
# [subst_r
e
gex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
-
**添加`clitheme repair-th
e
me`功能,根据存储的文件数据重新生成数据**
- **
优化
`
set_local_themedef`函数中的文件夹命名机制**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
-
[ ] 优化`set_local_themed
e
f`函数中的文件夹命名机制**
- **
添加
`
clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [ ]
优化`set_local_them
e
d
e
f`函数中的文件夹命名机制**
- **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [ ]
**优化`set_local_th
e
m
e
def`函数中的文件夹命名机制**
- **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **重写`set_local_themedefs`函数,不生成多个文件夹**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [] **优化`set_local_themedef`函数中的文件夹命名机制**
-
**添加`clith
e
me repair-th
e
m
e
`功能,根据存储的文件数据重新生成数据**
- **
重写
`
set_local_themedefs`函数,不生成多个文件夹**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [
x
] **优化`set_local_themedef`函数中的文件夹命名机制**
-
[x] **重写`s
e
t_local_them
e
d
e
fs`函数,不生成多个文件夹**
- **
添加
`
clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **
修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **
重写/优化`check_regenerate_db`内部流程**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **
重写/优化`check_regenerate_db`内部流程**
- **
修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **重写/优化`check_regenerate_db`内部流程**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **
重要更改:co
m
mand filter将会根据文件定义顺序,不会根据命令长度排序
**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **
`clitheme-ex
e
c`支持Windows系统*
*
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_r
e
gex/string]...
[/in_string_lines]
[
in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lin
e
s]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- **重写/优化`check_regenerate_db`内部流程**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **
`clithe
m
e-exec --debug-color`中为用户输入用灰色显示
**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **
区分stdout/std
e
rr并实现保留原输出顺序输出
*
*
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lin
e
s] Some line content
# [subst_regex/string]...
[
/in_string_lines]
[in_regex_lines] Some regex content
# [subst_r
e
gex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
-
**添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
-
**重写/优化`check_regen
e
rat
e
_db`内部流程**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **`clitheme-exec --debug-color`中为用户输入用灰色显示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
-
[x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
-
[x] **重写/优化`check_r
e
gen
e
rate_db`内部流程**
- **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **`clitheme-exec --debug-color`中为用户输入用灰色显示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
-
**修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **`clitheme-exec --debug-color`中为用户输入用灰色显示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
-
[ ] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **`clitheme-exec --debug-color`中为用户输入用灰色显示**
- **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **
修复多行内容段落中带有反斜杠的结束语句不
会
被正确处理的问题**
- [x] **
优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **
重写
`set_local_themedef
s`函数,不生成多个文件夹
*
*
- [x] **
添加
`
clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **
重写/优化`c
he
ck_
re
generat
e
_db`内部流程**
- [] **
修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
-
**`clitheme-
e
xec --d
e
bug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **`clitheme-exec --debug
-color`中为用户输入用灰色显示**
- **
重要更改:co
m
mand filter将会根据文件定义顺序,不会根据命令长度排序
**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **
重要更改:command filter将
会
根据文件定义顺序,不会根据命令长度排序**
- [x] **
修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **
优化
`set_local_themedef
`函数中的文件夹命名机制*
*
- [x] **
重写
`
set_local_themedefs`函数,不生成多个文件夹**
- [x] **
添加`clit
he
me
re
pair-th
e
me`功能,根据存储的文件数据重新生成数据**
- [
x
] **
重写/优化`check_regenerate_db`内部流程**
-
[x] **修改:`!r
e
quire_v
e
rsion`中指定非beta版本将导致文件不支持同版本号的beta版**
- **`clitheme-exec --debug
`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- **
`clithe
m
e-exec --debug-color`中为用户输入用灰色显示
**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
-
**`clitheme-
e
x
e
c --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
-
**`clitheme-
e
x
e
c --debug-color`中为用户输入
用
灰色显示**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
-
[ ] **`clith
e
m
e
-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
-
[ ] **`clith
e
m
e
-exec --debug-color`中为
用
户输入用灰色显示**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [ ] **
`clitheme-ex
e
c
-
-d
e
bug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- [ ] **`clitheme-exec --debug
-color`中为用户输入用灰色显示**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **
`clitheme-ex
e
c`支持Windows系统*
*
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_r
e
gex/string]...
[/in_string_lines]
[
in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lin
e
s]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [ ] **
重命名`get-curr
e
nt
-
th
e
me-info`为`show-info`**
- [ ] **`clitheme-exec --debug
`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- [ ] **`clitheme-exec --debug-color`中为用户输入用灰色显示**
## `v2.1`版本
- **
区分stdout/std
e
rr并实现保留原输出顺序输出
*
*
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lin
e
s] Some line content
# [subst_regex/string]...
[
/in_string_lines]
[in_regex_lines] Some regex content
# [subst_r
e
gex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [ ] **重命名`get-current-theme-info`为`show-info`**
- [ ] **`clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示**
- [ ] **
`
clitheme-exec --debug-color`中为用户输入用灰色显示**
## `v2.1`版本
-
**区分stdout/stderr并实现保留原输出顺序输出**
-
**
`
clith
e
me-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```pla
i
ntext
set_options linebounds
[
substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
#
...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```
plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[
filter_com
m
ands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintex
t
[
in_string_lines] Some line content
# [subst_regex/strin
g
]...
[/in_string_lines]
[
in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
``
`
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [ ] **重命名`get-current-theme-info`为`show-info`**
## `v2.1
`
版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
-
新增
`
prevn
e
wlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[subst
i
tute_regex] |This is some text |
locale:default | Some other text|
[
/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
#
从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[
/filter_co
m
mands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subs
t
_regex/string]...
[
/in_string_lines]
[in_regex_lines] Some re
g
ex content
# [subst_regex]...
[
/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
-
`
clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示
- `clitheme-exec --debug-color`中为用户输入用灰色显示
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [] **重命名`get-current-theme-info`为`show-info`**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
- `clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示
- `clitheme-exec --debug-color`中为用户输入用灰色显示
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [
x
] **重命名`get-current-theme-info`为`show-info`**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **`clitheme-exec`支持Windows系统**
- 很多终端机制和Unix不一样,需要单独适配
- 新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_regex] |This is some text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clitheme apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(cargo|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_regex/string]...
[/in_string_lines]
[in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
- `clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示
- `clitheme-exec --debug-color`中为用户输入用灰色显示
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13 | [/filter_commands] {{options}}
| After variable substitution:
13 | [/filter_commands] leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16 | [substitute_regex]
| ^?
```
- **(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
修改了
描述
原值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [x] **重命名`get-current-theme-info`为`show-info`**
## `v2.1`版本
- **区分stdout/stderr并实现保留原输出顺序输出**
- **
`clitheme-ex
e
c`支持Windows系统*
*
- 很多终端机制和Unix不一样,需要单独适配
-
新增`prevnewli
n
eonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
-
支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options linebounds
[substitute_reg
e
x] |This is some text |
locale:default
|
Some
o
ther text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.txt"读取内容
@source snippets some-code.ctsnippe
t
.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaintext
$ clithem
e
apply-theme --spec ctfilespec.txt
```
- 替换规则中的匹配内容支持多行段落
-
命令限制规则支持使用正则表达式
```plaintext
[filter_commands_regex]
(carg
o
|c
a
rgo-alt) run .+ --options=([^\s]+)
[/filte
r
_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lines] Some line content
# [subst_r
e
gex/string]...
[/in_string_lines]
[
in_regex_lines] Some regex content
# [subst_regex]...
[/in_regex_lin
e
s]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
# ...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
- `clitheme-exec --debug`中为仅匹配和匹配及修改的输出指定不同的颜色指示
- `clitheme-exec --debug
-color`中为用户输入用灰色显示
## 未来版本
- (可能会添加)新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)
语法错误信息显示行内容
```plaintext
Syntax error: option "leadspaces" not allowed here at line 13
13
| [/filter_commands] {{options}}
|
After variable substitu
tion
:
13
|
[/filter_commands] leadspaces:4
|
^^^^^^^^^^^^
```
```
plaintext
Syntax error: not enough arguments for "[substitute_regex]" at line 16
16
| [substi
t
ute_regex]
|
^?
```
- **(可能会添加)提示信息支持颜色输出**
-
(可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
新值
这里会列出未来版本会添加的功能,包括`v2.0`正式版和`v2.1`等后续版本。
## `v2.0`正式版
- [x] **重要更改:command filter将会根据文件定义顺序,不会根据命令长度排序**
- [x] **修复多行内容段落中带有反斜杠的结束语句不会被正确处理的问题**
- [x] **优化`set_local_themedef`函数中的文件夹命名机制**
- [x] **重写`set_local_themedefs`函数,不生成多个文件夹**
- [x] **添加`clitheme repair-theme`功能,根据存储的文件数据重新生成数据**
- [x] **重写/优化`check_regenerate_db`内部流程**
- [x] **修改:`!require_version`中指定非beta版本将导致文件不支持同版本号的beta版**
- [x] **重命名`get-current-theme-info`为`show-info`**
- [x] **重命名`unset-current-theme`为`remove-theme`**
## `v2.1`版本
- **
区分stdout/std
e
rr并实现保留原输出顺序输出
*
*
-
**`clitheme-exec`支持Windows系统**
- 很多终端机制和U
n
ix不一样,需要单独适配
-
新增`prevnewlineonly`选项,仅在上一个输出的结尾是newline(`\n`)时应用替换规则
- 支持使用分界符号以插入开头和末尾空格(`|`),使用单独选项启用该功能
```plaintext
set_options lin
e
bounds
[substitute_regex]
|
This is s
o
me text |
locale:default | Some other text|
[/substitute_regex]
```
- 支持定义“代码片段”:从另一个文件读取并重复使用同一个定义内容
```plaintext
# ...
# 从"snippets/some-code.ctsnippet.tx
t
"读取内容
@source snippets some-code.ctsnippet.txt
# ...
```
- 支持指定文件定义内容(`filespec`);该文件包含要处理的定义文件的信息
```plaint
e
xt
$ clitheme apply-theme --spec ctfilespec.txt
```
-
替换规则中的匹配内容支持多行段落
- 命令限制规则支持使用正则表达式
```plaintext
[filter_c
o
mm
a
nds_regex]
(ca
r
go|cargo-alt) run .+ --options=([^\s]+)
[/filter_commands_regex]
filter_command_regex (cargo|cargo-alt) run .+ --options=([^\s]+)
```
- 新增匹配段落,在仅匹配指定内容时对相应区域应用替换规则
```plaintext
[in_string_lin
e
s] Some line content
# [subst_regex/string]...
[
/in_string_lines]
[in_regex_lines] Some regex content
# [subst_r
e
gex]...
[/in_regex_lines]
```
- 新增`substchar`选项,通过符号表达式插入特殊字符
```plaintext
set_options substchar
#
...
locale:default {{[x1b]}}[1mBold text{{[x1b]}}[0m, biang: {{[U00030edd]}}
```
- `clitheme-exec --debug
`中为仅匹配和匹配及修改的输出指定不同的颜色指示
- `clitheme-exec --debug-color`中为用户输入用灰色显示
## 未来版本
- (可能会添加)
新增`clitheme-bash`快捷功能;设置`bash`以自动使用`clitheme-exec`执行每一条命令
- (可能会添加)语法错误信息显示行内容
```plaintext
Syntax
error: option "leadspaces" not allowed here at line 13
13
|
[/filter_commands] {{op
tion
s}}
|
After variable substitution:
13
|
[/filter_commands]
leadspaces:4
| ^^^^^^^^^^^^
```
```plaintext
Syntax
error: no
t
enough arguments for "[substitute_regex]" at line 16
16
|
[substitute_regex]
| ^?
```
-
**(可能会添加)提示信息支持颜色输出**
- (可能会添加)新增`clitheme update-theme --edit`命令;打开文本编辑器让用户编辑当前存储的文件列表然后再继续
swiftycode
将
任务状态
从
待办的
修改为
已完成
swiftycode
将
置顶等级
从
高
修改为
不置顶
展开全部操作日志
折叠全部操作日志
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已关闭
负责人
未设置
swiftycode
swiftycode
负责人
协作者
+负责人
+协作者
标签
新功能
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (2)
标签 (9)
latest-dev
latest-STABLE
v2.0
v2.0-beta3
v2.0-beta2
v2.0-beta1.r2
v2.0-beta1
v1.1-r2
v1.1-r1
v1.0-r2
v1.0_r1
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
Python
1
https://gitee.com/swiftycode/clitheme.git
git@gitee.com:swiftycode/clitheme.git
swiftycode
clitheme
CLItheme
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册