holo-routing / holo-cli

`holo` Command Line Interface
MIT License
0 stars 2 forks source link

use of `less -X` in `holo-cli` #8

Open frederic-loui opened 2 months ago

frederic-loui commented 2 months ago

When using CLI, network operators are used:

Using less in default mode is more visually elegant as it does not clutter CLI terminal screen.
However it is painful to use if you want to copy-paste line from running-config and adapt it in a YOLO mode. :sweat_smile:

It is therefore adviseable to enable less -X behaviour describe here (man page is precise but "less" human explicit :rofl:)

-X: Leave file contents on screen when less exits.