mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2025-12-06 13:39:41 +01:00
15 lines
257 B
Go
15 lines
257 B
Go
|
|
package cmd
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/jkaninda/mysql-bkup/utils"
|
||
|
|
"github.com/spf13/cobra"
|
||
|
|
)
|
||
|
|
|
||
|
|
var HistoryCmd = &cobra.Command{
|
||
|
|
Use: "history",
|
||
|
|
Short: "Show the history of backup",
|
||
|
|
Run: func(cmd *cobra.Command, args []string) {
|
||
|
|
utils.ShowHistory()
|
||
|
|
},
|
||
|
|
}
|