Skip to content

Commit

Permalink
version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ak1ra24 committed Feb 6, 2020
1 parent 1966bd4 commit 3880981
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"log"
"fmt"
"os"

"github.com/urfave/cli/v2"
Expand All @@ -10,20 +10,23 @@ import (
const (
name = "tinet"
description = "tinet: Tiny Network"
version = "0.0.0"
)

var (
Version = "0.0.1"
)

func main() {
if err := newApp().Run(os.Args); err != nil {
log.Fatal(err)
fmt.Println(err)
os.Exit(1)
}
}

func newApp() *cli.App {
app := cli.NewApp()
app.Name = name
app.Version = version
app.Version = Version
app.Usage = description
app.Authors = []*cli.Author{
{
Expand Down

0 comments on commit 3880981

Please sign in to comment.