Closed alex-bender closed 7 years ago
@abaldwin88 Hello! I've created a new PR, please let me know if you want me to make any changes.
Please check my last commit
If you'd like this commit -- it's needed to add ignore rule to pylint
pylint roamer tests
************* Module roamer.session
W: 17, 4: Redefining built-in 'input' (redefined-builtin)
C: 17, 4: Invalid constant name "input" (invalid-name)
Yea I'm ok with that. You can disable those checks for that specific line.
This pull request adds a bit of safety to the roamer:
roamer
will not take any action without explicit approvalBefore command(s) execution user will be asked to confirm commands:
Please indicate approval: [y/N] -- No is default behavior. From now user have to answer Yes, Y, yes or y or with any word which starts with
y
to confirm, or use anything else to deny.--skip-approval
. Theroamer
will execute all the commands generated after exiting editor.Ctrl+C
will discard any command(s) and exits theroamer
.Tested on
Debian 8