starting the process of moving manifest mgmt to a dedicated subcommand
This commit is contained in:
@@ -12,9 +12,10 @@
|
||||
* @brief Enumeration of supported commands for the build module
|
||||
*/
|
||||
enum Command {
|
||||
CMD_UNKNOWN, /**< Unknown or unsupported command */
|
||||
CMD_HELP, /**< Display help information */
|
||||
CMD_STAGE /**< Stage a new DPM package */
|
||||
CMD_UNKNOWN, /**< Unknown or unsupported command */
|
||||
CMD_HELP, /**< Display help information */
|
||||
CMD_STAGE, /**< Stage a new DPM package */
|
||||
CMD_MANIFEST, /**< Regenerate a stage manifest */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,6 +16,17 @@
|
||||
*/
|
||||
int cmd_stage(int argc, char** argv);
|
||||
|
||||
/**
|
||||
* @brief Handler for the manifest command
|
||||
*
|
||||
* Generates or refreshes package manifest.
|
||||
*
|
||||
* @param argc Number of arguments
|
||||
* @param argv Array of arguments
|
||||
* @return 0 on success, non-zero on failure
|
||||
*/
|
||||
int cmd_manifest(int argc, char** argv);
|
||||
|
||||
/**
|
||||
* @brief Handler for the help command
|
||||
*
|
||||
@@ -39,6 +50,16 @@ int cmd_help(int argc, char** argv);
|
||||
*/
|
||||
int cmd_stage_help(int argc, char** argv);
|
||||
|
||||
/**
|
||||
* @brief Handler for the manifest help command
|
||||
*
|
||||
* Displays information about manifest command options.
|
||||
*
|
||||
* @param argc Number of arguments
|
||||
* @param argv Array of arguments
|
||||
* @return 0 on success, non-zero on failure
|
||||
*/
|
||||
int cmd_manifest_help(int argc, char** argv);
|
||||
|
||||
/**
|
||||
* @brief Handler for unknown commands
|
||||
|
||||
Reference in New Issue
Block a user