forked from x/ContextOS
66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
kit xls "表格" "index.js" "index.css" private context find "web.wiki" xls \
|
|
text "" name title imports plugin_xls_id action auto \
|
|
text "" name content \
|
|
button "执行" \
|
|
button "返回" cb Last \
|
|
feature style "mind" \
|
|
exports xls_id id
|
|
|
|
kit dir "目录" private "ssh._route" _ "nfs.dir" _ time size line path \
|
|
text "" name pod imports plugin_pod action auto \
|
|
text "usr/local/redis-5.0.5/src" name dir imports plugin_dir action auto view long \
|
|
button "浏览" action auto \
|
|
button "返回" cb Last \
|
|
feature display editor \
|
|
exports dir "" dir
|
|
|
|
kit grep "搜索" public "cli.system" grep _ _ "-rn" "--color" cmd_parse cut 3 ":" "file line word" \
|
|
text "" name txt imports plugin_editor_word \
|
|
text "usr/local/redis-5.0.5" name dir view long \
|
|
button "搜索" \
|
|
exports dir file "" editor_file file "" editor_index line ""
|
|
|
|
fun mark "标签" public \
|
|
text "mark" name table \
|
|
text "" name file imports plugin_editor_file view long \
|
|
text "" name index imports plugin_editor_index view tiny \
|
|
text "" name word imports plugin_editor_word \
|
|
text "" name mark view long \
|
|
button "操作" \
|
|
exports dir file "" editor_index index "" editor_word word
|
|
|
|
if $5 == ""
|
|
copy skip ssh.data show _
|
|
else
|
|
copy ssh.data insert _ file _ index _ word _ mark _
|
|
end
|
|
end
|
|
|
|
fun blog "博客" public \
|
|
text "" name tag \
|
|
text "" name url view long \
|
|
button "保存" action auto
|
|
|
|
if $2 == ""
|
|
copy skip ssh.data show blog
|
|
else
|
|
copy ssh.data insert blog tag _ url _
|
|
end
|
|
end
|
|
|
|
fun note "记事本" public \
|
|
text "" name you imports plugin_you action auto \
|
|
text "" name tip imports plugin_tip view long action auto \
|
|
button "查看" action auto \
|
|
button "返回" cb Last \
|
|
exports tip file tip \
|
|
feature display inner
|
|
|
|
if $2 == "" || $2 ~ ".*/$"
|
|
copy ssh._route _ context wiki tree __ level local/wiki
|
|
else
|
|
copy ssh._route _ context wiki text __ level local/wiki
|
|
end
|
|
end
|
|
|