GoldenSheep402 / ShellScriptSnippet

abbr. as sss. This is a Utils designed for Terminal based user for manage, share, logging their Shell Script in one place.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSS (Shell Script Snippet)

特性 Feature

数据库化处理 Shell 自定义脚本的功能 并且支持增删改查 共享(未来)

databased shell custom scripts, supports CRUD and sharing

构建 Build

go build -o sss ./main/main.go

基本界面 UI

#########################################
#     _______.     _______.     _______.#
#    /       |    /       |    /       |#
#   |   (----`   |   (----`   |   (----`#
#    \   \        \   \        \   \    #
#.----)   |   .----)   |   .----)   |   #
#|_______/    |_______/    |_______/    #
#########################################


Usage:

  sss [flags]
  sss [command]


Available Commands:

  add          Add a shell script snippet
  completion   Generate the autocompletion script for the specified shell
  del          Delete shell script snippets
  disable      disable shell script snippets
  enable       enable shell script snippets
  help         Help about any command
  initrc       init rc is command to invoke the activated bashrc
  install      output how to use this cli in rc files
  list         List and print snippets summary as a table
  share        Share or print snippets
  version      输出版本 (Print the version number)


Flags:

  -h, --help             help for sss
      --verbose string   设置日志等级 (Set log level) [trace|debug|info|warn|error|fatal|panic] (default "info")


Use "sss [command] --help" for more information about a command.


Examples

examples 目录存放着测试使用的脚本, 支持一些测试和有用的 shell 函数

examples folder collects the testing scripts. Provide some useful funcs

About

abbr. as sss. This is a Utils designed for Terminal based user for manage, share, logging their Shell Script in one place.

License:MIT License


Languages

Language:Go 95.0%Language:Shell 5.0%