README.md in polyn-cli-0.1.9 vs README.md in polyn-cli-0.2.0
- old
+ new
@@ -8,24 +8,24 @@
gem install 'polyn-cli'
```
## Usage
-### Create New Events Codebase
+### Create New Schemas Codebase
-Run `polyn init` inside a directory to create a new `events` respository for managing your event schemas and NATS server configuration
+Run `polyn init` inside a directory to create a new `schemas` respository for managing your message schemas and NATS server configuration
### Stream Generator
Run `polyn gen:stream <stream_name>` to generate a new configuration file for a stream
### Schema Generator
-Run `polyn gen:schema <event_type>` to generate a new JSON Schema for an event
+Run `polyn gen:schema <schema_name>` to generate a new JSON Schema for a message
### Consumer Generator
-Run `polyn gen:consumer <stream_name> <destination_name> <event_type>` to generate new configuration for a consumer of a stream. It will be included in the same file as the stream configuration.
+Run `polyn gen:consumer <stream_name> <destination_name> <schema_name>` to generate new configuration for a consumer of a stream. It will be included in the same file as the stream configuration.
### Updating NATS Configuration and Schemas
Run `polyn up` to update your NATS server with the latest configuration in your `./tf` directory. It will also update your Schema Repository with the latest schemas.