ShellScriptSnippet

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 3 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
core package is package of real impel of cmd tool
core package is package of real impel of cmd tool
utils
Ask
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL