In order to help users understand what expand config files they need to create, we should include a command that lists up the placeholders.
Usage:
hayabusa.exe expand-list <INPUT> [OPTIONS]
Input:
-r, --rules <DIR> Directory of rules (default: ./rules)
General Options:
-h, --help Show the help menu
Display Settings:
-K, --no-color Disable color output
-q, --quiet Quiet mode: do not display the launch banner
This command just recursively checks the .yml files in ./rules or the specified rules directory, extracts out Admins_Workstations, etc.. from IpAddress|expand: '%Admins_Workstations%' and does sort -u
In order to help users understand what
expand
config files they need to create, we should include a command that lists up the placeholders.Stdout:
This command just recursively checks the
.yml
files in./rules
or the specified rules directory, extracts outAdmins_Workstations
, etc.. fromIpAddress|expand: '%Admins_Workstations%'
and doessort -u
@fukusuket Could I ask you to do this one?