core: split shell command into individual file and support command arg

This commit is contained in:
2024-09-25 21:31:44 +02:00
parent b84d4dbcb8
commit 3a916908ef
13 changed files with 140 additions and 77 deletions

12
headers/commands.h Normal file
View File

@ -0,0 +1,12 @@
#pragma once
void halt_cmd(char *arg);
void color_cmd(char *arg);
void date_cmd(char *arg);
void poweroff_cmd(char *arg);
void stack_cmd(char *arg);
void help_cmd(char *arg);
void reboot_cmd(char* arg);
void heap_cmd(char *arg);
void clear_cmd(char *arg);
void merdella_cmd(char *arg);