Skip to content

Commit a31e79c

Browse files
Fix ctx switch bash command and remove $ from copyable command line examples (#3)
1 parent 557c3e9 commit a31e79c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,13 @@ All other fields are contained within the `data` attribute.
441441
Extracted artifacts can be validated with the `chef-cli` using the following command:
442442

443443
```bash
444-
$ chef-cli validate-data -m external_domain_metadata.json -r issue < extractor_issues_2.json
444+
chef-cli validate-data -m external_domain_metadata.json -r issue < extractor_issues_2.json
445445
```
446446

447447
You can also generate example data to show the format the data has to be normalized to, using:
448448

449449
```bash
450-
$ echo '{}' | chef-cli fuzz-extracted -r issue -m external_domain_metadata.json > example_issues.json
450+
echo '{}' | chef-cli fuzz-extracted -r issue -m external_domain_metadata.json > example_issues.json
451451
```
452452

453453
## Deploy your snapin in your test org, and run an import.
@@ -470,7 +470,7 @@ chef-cli ctx switch --env prod
470470
This will print the list of airdrop imports in the org. Select the one you like by running
471471

472472
```bash
473-
$ eval $(chef-cli ctx switch --env --prod --id <the id you choose>); chef-cli ctx show
473+
eval $(chef-cli ctx switch --env prod --id <the id you choose>); chef-cli ctx show
474474
```
475475

476476
If this method doesn't work, you can manually export the variable (replacing the values based on the logs of your running import):
@@ -482,12 +482,12 @@ export AIRDROP_CONTEXT='{"run_id":"1","mode":"initial","connection_id":"x","migr
482482
Or you can use the interactive helper of the cli:
483483

484484
```bash
485-
$ eval $(chef-cli ctx init); chef-cli ctx show > ctx.json
485+
eval $(chef-cli ctx init); chef-cli ctx show > ctx.json
486486
```
487487

488488
## Use the local UI to create a recipe blueprint for your initial import:
489489

490-
`$ chef-cli configure-mappings --env prod`
490+
`chef-cli configure-mappings --env prod`
491491

492492
If your org is no in US-East-1, you have to override an environment variable to make sure the tool reaches to the right server, eg:
493493

0 commit comments

Comments
 (0)