Simple embedded shell with runtime pluggable commands.

Dependents:   DataBus2018

Implements a simple unix-like shell for embedded systems with a pluggable command architecture.

Revision:
23:b1e49cfcaef6
Parent:
22:b0e6d416ce99
Child:
25:9340833d92c0
--- a/SimpleShell.h	Mon Dec 24 17:44:29 2018 +0000
+++ b/SimpleShell.h	Mon Dec 24 18:35:29 2018 +0000
@@ -63,6 +63,9 @@
     /// canonicalize path
     char *canon(char *path);
 
+    /// return basename of path
+    char *basename(char *path);
+
     /** finds and eturns the callback for a command
      * @return Callback to a function returning void
      */
@@ -88,6 +91,9 @@
 
     /// Built-in shell command to display contents of file
     void cat(int argc, char **argv);
+    
+    /// Built-in shell command to display contents of file
+    void send(int argc, char **argv);
 
     /// Prints command prompt
     void printPrompt(void);