Skip to content

Commit

Permalink
added cfn submit section to README (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
ammokhov authored Sep 16, 2020
1 parent 059b858 commit 1d32b07
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,23 @@ To refresh auto-generated code, use the `generate` command. Usually, plugins try
cfn generate
```

### Command: submit

To register a resource provider in your account, use the `submit` command.

```bash
cfn submit
cfn submit --dry-run #prepares schema handler package without submitting for registration
```

### Command: test

To run the contract tests, use the `test` command.

```bash
cfn test
cfn test -- -k contract_delete_update #to run a single test
cfn test --tb=long # exhaustive, informative traceback formatting
cfn test --tb=long #exhaustive, informative traceback formatting
cfn test --enforce-timeout 60 #set the RL handler timeout to 60 seconds and CUD handler timeout to 120 seconds.
cfn test --enforce-timeout 60 -- -k contract_delete_update # combine args
```
Expand Down

0 comments on commit 1d32b07

Please sign in to comment.