-
Fork and create a branch with naming
<platform>_<command>
(for example: ale_aos8_show_system). -
Add TextFSM template file in templates folder with naming
<platform>_<command>.textfsm
. -
Add entry in templates_index with attribute command and platform.
-
Add test folder in 'templates' with naming
<platform>_<command>
. -
Add sample cli output file in newly created folder
<platform>_<command>.txt
. -
Add expected parsed data from sample cli output in
<platform>_<command>.yml
. -
Run linting
tox
and testspytest
.
-
Install
Poetry
package manager viapip install poetry
-
Install dev dependencies and textfsm-aos package in development mode with
poetry install
-
Open virtual environment
poetry shell