Skip to main content

handle_concat

Function handle_concat 

Source
pub fn handle_concat(name: &str, content: &[String], config: &mut YamlConfig)
Expand description

处理 concat 命令: j concat <script_name> [“<script_content>”] 创建一个脚本文件并注册为别名,脚本持久化在 ~/.jdata/scripts/ 下 如果没有提供 content,则打开 TUI 编辑器让用户输入