bb/tool/date/date.go

22 lines
231 B
Go
Raw Permalink Normal View History

2020-05-05 07:52:35 +03:00
package date
import(
"fmt"
"time"
2024-05-15 21:07:35 +03:00
"surdeus.su/core/cli/mtool"
2020-05-05 07:52:35 +03:00
)
2023-03-24 16:54:51 +03:00
func Run(flagSet *mtool.Flags) {
flagSet.Parse()
args := flagSet.Args()
2020-05-05 07:52:35 +03:00
2023-03-24 16:54:51 +03:00
if len(args) > 0 {
2020-05-05 07:52:35 +03:00
flagSet.Usage()
}
date := time.Now()
fmt.Println(date)
}