Skip to content

Commit

Permalink
feat: upgrade cli to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
fifsky committed Jun 24, 2021
1 parent fc4d86d commit 1a06065
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cli_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"log"
"os"
"time"

"github.com/urfave/cli/v2"
)
Expand Down Expand Up @@ -39,6 +40,13 @@ func (h *CliServer) Run(cmds cli.Commands) {
app.Name = "app"
app.Version = VERSION
app.Copyright = "(c) Gee"
app.Compiled = time.Now()
app.Authors = []*cli.Author{
{
Name: "fifsky",
Email: "fifsky@gmail.com",
},
}
app.Writer = os.Stdout
cli.ErrWriter = os.Stdout

Expand Down

0 comments on commit 1a06065

Please sign in to comment.