summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAbdellah El Morabit <nsrddyn@gmail.com>2025-02-19 11:33:22 +0100
committerAbdellah El Morabit <nsrddyn@gmail.com>2025-02-19 11:33:22 +0100
commitdfa0daea30fce10aaa4c6413eb5d13d9f906ed81 (patch)
treea43f759dc7c15b69dfd224a10551b2a671d3d86d /main.c
parent74ca1e906a40e247376fea9aa8eb27efc764e0db (diff)
an array that stores all of the available commands
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/main.c b/main.c
index 617f78d..88be4cc 100644
--- a/main.c
+++ b/main.c
@@ -74,7 +74,16 @@ void clear();
struct exec_command CommandsList[] = {
- {"ls", ls},
+ {"ls", list},
+ {"make_dir", make_dir},
+ {"remove_dir", remove_dir},
+ {"remove_file", remove_file},
+ {"copy_files", copy_files},
+ {"move_files", move_files},
+ {"print_cdirectory", print_cdirectory},
+ {"change_directory", change_directory},
+ {"clear", clear},
+ {"echo", echo}
};
// code functions