diff options
| author | Abdellah El Morabit <nsrddyn@gmail.com> | 2025-02-19 11:33:22 +0100 |
|---|---|---|
| committer | Abdellah El Morabit <nsrddyn@gmail.com> | 2025-02-19 11:33:22 +0100 |
| commit | dfa0daea30fce10aaa4c6413eb5d13d9f906ed81 (patch) | |
| tree | a43f759dc7c15b69dfd224a10551b2a671d3d86d | |
| parent | 74ca1e906a40e247376fea9aa8eb27efc764e0db (diff) | |
an array that stores all of the available commands
| -rw-r--r-- | main.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |
