forked from taikoxyz/trailblazer-adapters
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba3189f
commit d310c3c
Showing
2 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Trailblazer Adapters CLI | ||
|
||
## Adding a New CLI Command | ||
|
||
### 1. Add a new option under ```adapterOptions``` in ```root.go``` | ||
|
||
### 2. Import adapter | ||
|
||
An example on how to add import a newly added adapter [here](./order_fulfilled.go) | ||
|
||
### 3. Test out the CLI | ||
|
||
Test out the CLI with the following command and input your parameters accordingly. | ||
``` | ||
go run main.go process | ||
``` | ||
|