Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: fix 'show foo', show node value or default #3

Closed
troglobit opened this issue Feb 2, 2024 · 1 comment
Closed

cli: fix 'show foo', show node value or default #3

troglobit opened this issue Feb 2, 2024 · 1 comment
Assignees

Comments

@troglobit
Copy link

troglobit commented Feb 2, 2024

This is just annoying:

root@infix-00-00-00:/config/container/ntpd/> show image 
Error: Illegal command
@troglobit troglobit changed the title klish: fix 'show foo', show node value or default cli: fix 'show foo', show node value or default Feb 4, 2024
@troglobit troglobit self-assigned this May 29, 2024
@troglobit
Copy link
Author

Fixed in bc543fb

troglobit added a commit to kernelkit/infix that referenced this issue Jun 16, 2024
This patch bumps klish-plugins-sysrepo to fix the annoying issue with
the CLI not supporting, e.g. "show hostname" in system config context.

Details: kernelkit/klish-plugin-sysrepo#3

The problem was two-fold, first we used the wrong ptype for 'show'
(and 'diff') commands, so srp_show() was not even called.  Then the
klish-plugin-sysrepo code did not account for show being called for
leaf nodes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
troglobit added a commit to kernelkit/infix that referenced this issue Jun 18, 2024
This patch bumps klish-plugins-sysrepo to fix the annoying issue with
the CLI not supporting, e.g. "show hostname" in system config context.

Details: kernelkit/klish-plugin-sysrepo#3

The problem was two-fold, first we used the wrong ptype for 'show'
(and 'diff') commands, so srp_show() was not even called.  Then the
klish-plugin-sysrepo code did not account for show being called for
leaf nodes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
troglobit added a commit to kernelkit/infix that referenced this issue Jun 20, 2024
This patch bumps klish-plugins-sysrepo to fix the annoying issue with
the CLI not supporting, e.g. "show hostname" in system config context.

Details: kernelkit/klish-plugin-sysrepo#3

The problem was two-fold, first we used the wrong ptype for 'show'
(and 'diff') commands, so srp_show() was not even called.  Then the
klish-plugin-sysrepo code did not account for show being called for
leaf nodes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
troglobit added a commit to kernelkit/infix that referenced this issue Jun 20, 2024
This patch bumps klish-plugins-sysrepo to fix the annoying issue with
the CLI not supporting, e.g. "show hostname" in system config context.

Details: kernelkit/klish-plugin-sysrepo#3

The problem was two-fold, first we used the wrong ptype for 'show'
(and 'diff') commands, so srp_show() was not even called.  Then the
klish-plugin-sysrepo code did not account for show being called for
leaf nodes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
troglobit added a commit to kernelkit/infix that referenced this issue Jun 25, 2024
This patch bumps klish-plugins-sysrepo to fix the annoying issue with
the CLI not supporting, e.g. "show hostname" in system config context.

Details: kernelkit/klish-plugin-sysrepo#3

The problem was two-fold, first we used the wrong ptype for 'show'
(and 'diff') commands, so srp_show() was not even called.  Then the
klish-plugin-sysrepo code did not account for show being called for
leaf nodes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant