Add some notes about wanted improvements

This commit is contained in:
Cassowary Rusnov 2024-03-31 09:53:14 -07:00
parent ca6f2c2655
commit e090c4465d
1 changed files with 10 additions and 2 deletions

View File

@ -19,6 +19,9 @@
# - 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.
# - 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
@ -86,8 +89,13 @@ COMMANDS = {
'arguments': (('/arguments',), "[scripting] Abort if no arguments are specified."),
# fixme add interpolation
'unsafe': (('/unsafe'), "[scriptiong] Abort command if safety is on."),
# 'history': (('-history', '-h'), "Show the last 10 commands in the history."),
# 'filteralias': (('-filteralias',), "Create a filter alias which allows quick filtering.")
# 'history': (('/history', '/h'), "Show the last 10 commands in the history."),
# '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: