Skip to content

Commit

Permalink
bump to v0.10.0 (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktr0731 authored Jul 24, 2021
1 parent 5ce4121 commit a7bb0b5
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 8 deletions.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ So, you can format it by any commands like `jq`. Also, if you want to use the sa
- [Bidirectional streaming RPC](#bidirectional-streaming-rpc)
- [Skip the rest of fields](#skip-the-rest-of-fields)
- [Enriched response](#enriched-response)
- [Repeat the previous call](#repeat-the-previous-call)
- [Usage (CLI)](#usage-cli)
- [Basic usage](#basic-usage-1)
- [Repeated fields](#repeated-fields-1)
Expand Down Expand Up @@ -233,7 +234,9 @@ You can input some values and finish with <kbd>CTRL-D</kbd>

### Enum fields
You can select one from the proposed selections.
To abort it, input <kbd>CTRL-C</kbd>.
When <kbd>CTRL-C</kbd> is entered, default value 0 will be used.
When <kbd>CTRL-D</kbd> is entered, inputting will be aborted.

```
> call UnaryEnum
? UnaryEnumRequest [Use arrows to move, type to filter]
Expand Down Expand Up @@ -409,6 +412,24 @@ number: 0
message: ""
```

### Repeat the previous call
With `--repeat` option, you can repeat the previous call with the same input.
Note that Client/Bidirectional streaming RPC is not supported.

```
> call Unary
name (TYPE_STRING) => ktr
{
"message": "hello, ktr"
}
> call --repeat Unary
name (TYPE_STRING) => ktr
{
"message": "hello, ktr"
}
```

## Usage (CLI)
### Basic usage
CLI mode also has some commands.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[meta]
autoupdate = false
configversion = "0.9.3"
configversion = "0.10.0"
updatelevel = "patch"

[repl]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
evans 0.9.3
evans 0.10.0

Usage: evans [global options ...] cli call [options ...] <method>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
evans 0.9.3
evans 0.10.0

Usage: evans [global options ...] cli desc [options ...] [symbol]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
evans 0.9.3
evans 0.10.0

Usage: evans [global options ...] cli list [options ...] [fully-qualified service/method name]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
evans 0.9.3
evans 0.10.0

Usage: evans [global options ...] cli

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
evans 0.9.3
evans 0.10.0

Usage: evans [global options ...] cli

Expand Down
2 changes: 1 addition & 1 deletion meta/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import version "github.com/hashicorp/go-version"
const AppName = "evans"

var (
Version = version.Must(version.NewSemver("0.9.3"))
Version = version.Must(version.NewSemver("0.10.0"))
)

0 comments on commit a7bb0b5

Please sign in to comment.