Problem
Configuration files must be provided as file paths. This prevents piping configurations from other tools or using here-docs.
Proposed Solution
Support "-" as a special filename to read from stdin:
napalm get_config | hier-config-cli remediation --platform ios --running-config - --generated-config intended.conf
Limitation: Only one of --running-config or --generated-config can be "-" since stdin can only be read once.
Acceptance Criteria
Problem
Configuration files must be provided as file paths. This prevents piping configurations from other tools or using here-docs.
Proposed Solution
Support "-" as a special filename to read from stdin:
napalm get_config | hier-config-cli remediation --platform ios --running-config - --generated-config intended.confLimitation: Only one of --running-config or --generated-config can be "-" since stdin can only be read once.
Acceptance Criteria