Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
chore: add cli documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
eHattori committed May 19, 2022
1 parent e3421a3 commit 1634708
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,20 @@ class ConsumerExampleClass
## Fill with your business logic here
end
end
```

### Start PipefyMessages Consumer
To start `consumer` inside a Rails applications:

ConsumerExampleClass.process_message
```shell
bundle exec pipefymessage -w ConsumerExampleClass -R
```

### Development - Test

To test changes without installing this dependency on your application, on your terminal go to the project root and execute:

```console
```shell
export ENABLE_AWS_CLIENT_CONFIG=true

make build-app
Expand All @@ -90,13 +95,13 @@ To test changes without installing this dependency on your application, on your

If you need to recreate the infra (SNS and SQS) run:

```console
```shell
make recreate-app-infra
```

After that, we are going to test the gem with these commands:

```console
```shell
irb
```

Expand Down

0 comments on commit 1634708

Please sign in to comment.