bb/tool/date/date.go
2023-10-23 15:00:45 +03:00

21 lines
231 B
Go

package date
import(
"fmt"
"time"
"github.com/reklesio/mtool"
)
func Run(flagSet *mtool.Flags) {
flagSet.Parse()
args := flagSet.Args()
if len(args) > 0 {
flagSet.Usage()
}
date := time.Now()
fmt.Println(date)
}