Skip to content

Commit b556689

Browse files
committedNov 20, 2024
init v0.0.1
0 parents  commit b556689

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+7326
-0
lines changed
 

‎.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.idea
2+
.vscode
3+
4+
build
5+
logs
6+
7+
frontend/node_modules
8+
frontend/dist
9+

‎README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# rscript
2+
3+
rscript 是通过 ssh 远程执行命令的工具。具有三种运行模式,目的是简化边缘场景下的运维过程。
4+
5+
<img alt="gui" height="450" width="550" src=".\example\gui_2.png"/>
6+
7+
## 快速开始
8+
9+
### gui/tui
10+
11+
step 1: 编写 yaml 脚本
12+
13+
step 2: 运行 rscript_gui.exe ,选择 yaml 脚本执行
14+
15+
### rscript package
16+
17+
rscript package 的作用是通过 go embed 将资源文件和脚本文件嵌入到 tui ,制作成单一执行文件的包。
18+
19+
step 1: git clone https://github.com/leijux/rscript.git
20+
21+
step 2: internal/app/package 编写 yaml 脚本
22+
23+
step 3: 编译包 go build -ldflags "-s -w" -o upgrade.exe

0 commit comments

Comments
 (0)
Please sign in to comment.