Parser Auto Complete is a tool that reads targets from YAML files and provides auto-completion for the selected targets on the command line.
- Clone the repository:
git clone https://github.com/your-username/parser-auto-complete.git
- Navigate to the project directory:
cd parser-auto-complete
- Install the dependencies:
pip install -r requirements.txt
- Run the parser:
./app/parser_auto_complete.py --group <group_name> --targets <target_name>
- The
--group
option is used to specify the group. Auto-completion will provide a list of available groups. - The
--targets
option is used to specify the target. Auto-completion will provide a list of available targets based on the selected group.
- The
-
Create YAML files for defining your targets. For example, create a file named
targets.yaml
. -
Define your targets and groups in the YAML file using the following format:
<group_name>: targets: <target_name_1>: ... <target_name_2>: ...