KCMD
Getting started
- golang version >= v1.15
Usage
go get -u github.com/sqmt/kcmd
package main
import (
"fmt"
"github.com/sqmt/kcmd"
"os"
)
func main() {
// add commands
// kcmd.AddCommand(yourCustomCommand1, Command2)
// remove command
// kcmd.RemoveCommand(yourCustomCommand1, Command2)
if err := kcmd.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}
Features
- Sql Migrate, Supports SQLite, PostgreSQL, MySQL, MSSQL databases
Contributors
Thank you for considering your contribution to kcmd!
License
This library is distributed under the MIT license.