diff --git a/README.md b/README.md index dc235d6..a9d36fb 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ As you can see, support for `go` templates is built in. While executing the temp In the examples above we can see these variables: * `.Crew.*` * `.Hold.*` -* `.Args.Arg*` +* `.Args.Arg.*` The `Crew` and the `Hold` are loaded if the captain is given a ship to sail. (A ship need not be specified if one named `default` exists in the given configuration.) @@ -84,6 +84,8 @@ The second `Plunder` rule will trigger on a Quest named `ddg-search`. It's going Currently, only top-level values in JSON responses can be plundered. +Similarly to Quests, a Ship can easily be edited in whatever editor you have defined in EDITOR by issuing: ncpt -E + ### Hold - Where Plunder is Stored These are simple JSON files that act as key-value stores for anything plundered. diff --git a/build.sh b/build.sh index c7dbd02..1234215 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,7 @@ trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG # Echo an error message before exiting trap 'echo "\"${last_command}\" command finished with exit code $?."' EXIT -# Build chroniclerd binary +# Build ncpt binary cd cmd/ncpt go build -o ncpt if [ ! -d ../../build ]; then