add command to dump binary file as base64 encoded data

This commit is contained in:
joeycastillo
2024-10-27 15:12:24 -04:00
parent 59b58b5499
commit b35d4afe85
9 changed files with 377 additions and 0 deletions

View File

@@ -72,6 +72,13 @@ shell_command_t g_shell_commands[] = {
.max_args = 1,
.cb = filesystem_cmd_cat,
},
{
.name = "b64encode",
.help = "usage: b64encode <PATH>",
.min_args = 1,
.max_args = 1,
.cb = filesystem_cmd_b64encode,
},
{
.name = "df",
.help = "print filesystem free space",