From e090c4465dbb9b9266d1cf098efc5957dc7fccd9 Mon Sep 17 00:00:00 2001 From: Cassowary Date: Sun, 31 Mar 2024 09:53:14 -0700 Subject: [PATCH] Add some notes about wanted improvements --- multiball/__main__.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/multiball/__main__.py b/multiball/__main__.py index bfa4384..4b63ac8 100644 --- a/multiball/__main__.py +++ b/multiball/__main__.py @@ -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: