Skip to content

Commit

Permalink
Image table
Browse files Browse the repository at this point in the history
  • Loading branch information
pcj committed Jun 7, 2023
1 parent 0525b60 commit ce6e56d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,24 @@

# grpc-starlark

`grpc-starlark` is a library for embedding a gRPC-capable starlark interpreter,
and a standalone binary `grpcstar` that executes starlark scripts.

The author pronounces this as `grip-ster` (like "napster") but you can say it
however you like.
<table border="0">
<tr>
<td><img src="https://user-images.githubusercontent.com/50580/141900696-bfb2d42d-5d2c-46f8-bd9f-06515969f6a2.png" height="120"/></td>
<td><img src="https://avatars2.githubusercontent.com/u/7802525?v=4&s=400" height="120"/></td>
<td><img src="https://static.vecteezy.com/system/resources/previews/007/038/145/non_2x/nightingale-singing-tune-song-bird-musical-notes-music-concept-icon-in-circle-round-black-color-illustration-flat-style-image-vector.jpg" height="120"/></td>
</tr>
<tr>
<td>protobuf</td>
<td>grpc</td>
<td>starlark</td>
</tr>
</table>

`grpc-starlark` is a:
- library for embedding a gRPC-capable starlark interpreter,
- standalone binary `grpcstar` that executes starlark scripts.

> The author pronounces this as `grip-ster` (like "napster", but you can say it however you like).
`grpcstar` use cases include:

Expand Down Expand Up @@ -42,7 +55,7 @@ options:
(conventionally named *.grpc.star)
-e, --entrypoint [optional, "main"]
name of function in global scope to invoke upon script start
-o, --output [optional, "json", onef "json|proto|text|yaml"]
-o, --output [optional, "json", oneof "json|proto|text|yaml"]
formatter for output protobufs returned by entrypoint function
-i, --interactive [optional, false]
start a REPL session (rather then exec the entrypoint)
Expand Down
2 changes: 1 addition & 1 deletion pkg/program/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ options:
(conventionally named *.grpc.star)
-e, --entrypoint [optional, "main"]
name of function in global scope to invoke upon script start
-o, --output [optional, "json", onef "json|proto|text|yaml"]
-o, --output [optional, "json", oneof "json|proto|text|yaml"]
formatter for output protobufs returned by entrypoint function
-i, --interactive [optional, false]
start a REPL session (rather then exec the entrypoint)
Expand Down

0 comments on commit ce6e56d

Please sign in to comment.