-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #943 from fetchai/fix/skill-guide
Fixing skill-guide
- Loading branch information
Showing
5 changed files
with
134 additions
and
94 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
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
35 changes: 35 additions & 0 deletions
35
tests/test_docs/test_bash_yaml/md_files/bash-skill-guide.md
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,35 @@ | ||
``` bash | ||
aea create my_aea && cd my_aea | ||
aea scaffold skill my_search | ||
``` | ||
``` yaml | ||
name: my_search | ||
author: fetchai | ||
version: 0.1.0 | ||
license: Apache-2.0 | ||
description: 'A simple search skill utilising the OEF.' | ||
behaviours: | ||
my_search_behaviour: | ||
class_name: MySearchBehaviour | ||
args: | ||
tick_interval: 5 | ||
handlers: | ||
my_search_handler: | ||
class_name: MySearchHandler | ||
args: {} | ||
models: {} | ||
protocols: ['fetchai/oef:0.1.0'] | ||
dependencies: {} | ||
``` | ||
``` bash | ||
aea add protocol fetchai/oef:0.1.0 | ||
``` | ||
``` bash | ||
aea add connection fetchai/oef:0.1.0 | ||
``` | ||
``` bash | ||
python scripts/oef/launch.py -c ./scripts/oef/launch_config.json | ||
``` | ||
```bash | ||
aea run --connections fetchai/oef:0.1.0 | ||
``` |
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