21 lines
231 B
Go
21 lines
231 B
Go
package date
|
|
|
|
import(
|
|
"fmt"
|
|
"time"
|
|
"vultras.su/core/cli/mtool"
|
|
)
|
|
|
|
func Run(flagSet *mtool.Flags) {
|
|
flagSet.Parse()
|
|
args := flagSet.Args()
|
|
|
|
if len(args) > 0 {
|
|
flagSet.Usage()
|
|
}
|
|
|
|
date := time.Now()
|
|
|
|
fmt.Println(date)
|
|
|
|
}
|