2019-03-05 14:19:59 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 HAW Hamburg
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup sys_shell_commands
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Shell command for getting application metadata.
|
|
|
|
|
|
|
|
*
|
|
|
|
* @author Kevin Weiss <kevin.weiss@haw-hamburg.de>
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "app_metadata.h"
|
2022-05-31 23:27:27 +02:00
|
|
|
#include "shell.h"
|
2019-03-05 14:19:59 +01:00
|
|
|
|
2022-06-08 08:51:38 +02:00
|
|
|
static int _app_metadata_handler(int argc, char **argv)
|
2019-03-05 14:19:59 +01:00
|
|
|
{
|
|
|
|
(void) argc;
|
|
|
|
(void) argv;
|
|
|
|
app_metadata_print_json();
|
|
|
|
return 0;
|
|
|
|
}
|
2022-05-31 23:27:27 +02:00
|
|
|
|
|
|
|
SHELL_COMMAND(app_metadata, "Returns application metadata", _app_metadata_handler);
|