Page MenuHomeVyOS Platform

Add a wrapper for the show operation to support additional options
Open, NormalPublic

Description

Right now the show command calls cli-shell-api showCfg directly. That is rather limiting because we cannot extend the command with new options easily.

A while back we discussed that trying to present config manipulations a pipe filters is a misguided idea because a) strip-private and the like are logically display options, not filters, and b) right now it's not possible to make them work as filters because bash doesn't give the filter enough information about the caller's command line arguments for such filters to find what edit level they are at, etc.

But a wrapper that supports show --strip-private could solve the problem — in a somewhat inelegant but a functional way.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)