From: https://github.com/vyos/vyatta-config-mgmt/pull/2
Summary
support command-style output with compare command (like show configuration commands)
Example
vyos@rts-brd-01# compare
[edit system login user one]
>full-name one-111
[edit system login]
+user three {
+ full-name three-3
+ level admin
+}
-user two {
- authentication {
- encrypted-password !
- plaintext-password ""
- }
- full-name two-2
- level admin
-}
[edit]
vyos@rts-brd-01# compare commands
delete system login user 'two'
set system login user one full-name 'one-111'
set system login user three full-name 'three-3'
set system login user three level 'admin'
[edit]Completion helper
cpo@LR1.wue3# compare Possible completions: commands Compare working & active configurations and show "set" commands <Enter> Compare working & active configurations