Refactor function command (#1372)

This commit is contained in:
Ta-Ching Chen
2019-11-03 13:31:47 +08:00
committed by GitHub
parent 8f6887280c
commit 3b6749dce9
14 changed files with 1542 additions and 998 deletions
@@ -18,6 +18,7 @@ package urfavecli
import (
"log"
"time"
"github.com/urfave/cli"
@@ -107,3 +108,7 @@ func (u Cli) GlobalInt64(key string) int64 {
func (u Cli) GlobalInt64Slice(key string) []int64 {
return u.c.GlobalInt64Slice(key)
}
func (u Cli) Duration(key string) time.Duration {
return u.c.Duration(key)
}