You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow for commands to be run in user mode (not enabled) #254
a lot of commands don't need to be run in exec mode/enabled and I like to run my scripts with the least permissions possible. This is especially useful for testing as I don't have a dedicated testing environment and would like to avoid running harmful commands by accident.
I would love to see another method for Commando like rundisabled() which executes the command without enabling after connect.
Thanks for the request! We've had a few related to non-enabled/read-only support on Cisco-like devices. This is definitely something we will be tackling soon. :)
Maybe a kwarg to the normal method to keep the same interface and allow to conditionally supplement value. I'm not a huge fan of conditional method names because it's not something you can variable-ize without doing eval. :)
Activity
jathanism commentedon Mar 3, 2016
Thanks for the request! We've had a few related to non-enabled/read-only support on Cisco-like devices. This is definitely something we will be tackling soon. :)
coxley commentedon Mar 8, 2016
Maybe a kwarg to the normal method to keep the same interface and allow to conditionally supplement value. I'm not a huge fan of conditional method names because it's not something you can variable-ize without doing eval. :)