bb/tool/date/date.go
2023-12-14 21:42:01 +03:00

21 lines
231 B
Go

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