From 95011656f07ce6cb423f0ae3dd5922046e82aaa3 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Wed, 30 Nov 2022 03:46:03 +0000 Subject: [PATCH] Add ls --- bin/ls.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 bin/ls.py diff --git a/bin/ls.py b/bin/ls.py new file mode 100644 index 0000000..e948689 --- /dev/null +++ b/bin/ls.py @@ -0,0 +1,10 @@ +import os + +def get_app_class(template): + class App(template): + def F_main(self): + for file in os.listdir(self.argv[1]): + print(file) + self.exit() + + return App