From 7172849789e759fdd60cc56e9123f3100c516bcb Mon Sep 17 00:00:00 2001 From: Chris Hammond Date: Thu, 22 Feb 2024 15:33:05 -0500 Subject: [PATCH] Add mount command support to the shell --- falcon_toolkit/shell/prompt.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/falcon_toolkit/shell/prompt.py b/falcon_toolkit/shell/prompt.py index 19e4b53..014a754 100644 --- a/falcon_toolkit/shell/prompt.py +++ b/falcon_toolkit/shell/prompt.py @@ -820,6 +820,11 @@ def do_mkdir(self, args): command = f'mkdir {args.directory}' self.send_generic_command(command) + @with_argparser(PARSERS.mount, preserve_quotes=True) + def do_mount(self, args): + """List mount points on a system.""" + self.send_generic_command("mount") + @with_argparser(PARSERS.mv, preserve_quotes=True) def do_mv(self, args): """Move a file or directory."""