Skip to content

Commit

Permalink
Merge pull request #24 from wy-z/dev
Browse files Browse the repository at this point in the history
[version] 2.2.0
  • Loading branch information
wy-z authored Nov 30, 2017
2 parents 1395bca + b0302db commit 67f2d3d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Parse golang data structure into json schema.

## Installation
```
go get github.com/wy-z/tspec
go get github.com/wy-z/tspec/...
```
Or
```
import "github.com/wy-z/tspec/tspec" # see cli/cli.go
import "github.com/wy-z/tspec/tspec" # see cmd/tspec/cli.go
```

## Usage
Expand All @@ -21,7 +21,7 @@ USAGE:
tspec [global options] command [command options] [arguments...]
VERSION:
2.1.2
2.2.0
COMMANDS:
help, h Shows a list of commands or help for one command
Expand Down
2 changes: 1 addition & 1 deletion cli/cli.go → cmd/tspec/cli.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cli
package main

import (
"encoding/json"
Expand Down
7 changes: 7 additions & 0 deletions cmd/tspec/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package main

const version = "2.2.0"

func main() {
Run(version)
}
11 changes: 0 additions & 11 deletions main.go

This file was deleted.

0 comments on commit 67f2d3d

Please sign in to comment.