Add some notes about wanted improvements
This commit is contained in:
parent
ca6f2c2655
commit
e090c4465d
@ -19,6 +19,9 @@
|
|||||||
# - Assign each output group to a number that can be easily selected with a -target etc. But also allow matching
|
# - Assign each output group to a number that can be easily selected with a -target etc. But also allow matching
|
||||||
# against those groups. Output groupings survive until the next command.
|
# against those groups. Output groupings survive until the next command.
|
||||||
# - allow scripts that use -safe to prompt for safety / restore safety after running
|
# - allow scripts that use -safe to prompt for safety / restore safety after running
|
||||||
|
# - Add variables that can be set and passed to commands
|
||||||
|
# - implement various commented commands in the command list
|
||||||
|
# - implement interactive alias system
|
||||||
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
@ -86,8 +89,13 @@ COMMANDS = {
|
|||||||
'arguments': (('/arguments',), "[scripting] Abort if no arguments are specified."),
|
'arguments': (('/arguments',), "[scripting] Abort if no arguments are specified."),
|
||||||
# fixme add interpolation
|
# fixme add interpolation
|
||||||
'unsafe': (('/unsafe'), "[scriptiong] Abort command if safety is on."),
|
'unsafe': (('/unsafe'), "[scriptiong] Abort command if safety is on."),
|
||||||
# 'history': (('-history', '-h'), "Show the last 10 commands in the history."),
|
# 'history': (('/history', '/h'), "Show the last 10 commands in the history."),
|
||||||
# 'filteralias': (('-filteralias',), "Create a filter alias which allows quick filtering.")
|
# 'filteralias': (('/filteralias',), "Create a filter alias which allows quick filtering."),
|
||||||
|
# 'undo': (('/undo',), "Undo last host or environment command."),
|
||||||
|
# 'alias': (('/alias', ), "Create an alias interactively.")
|
||||||
|
## Fixme unambiguate the above commands which list things into this command so things are more consistent
|
||||||
|
# 'list': (('/list',), "List various things (environmet, allhosts, hosts, targets)")
|
||||||
|
# '!': (('!', '/local'), "Run a local command and capture its output.")
|
||||||
}
|
}
|
||||||
|
|
||||||
class Multiball:
|
class Multiball:
|
||||||
|
Loading…
Reference in New Issue
Block a user