/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef PPM_CLI_H
#define PPM_CLI_H

/*
 * Subcommand entry points. Each returns a process-style exit code
 * (0 on success, non-zero on failure). argv is positioned so that
 * argv[0] is the subcommand name.
 */

int ppm_cmd_init   (int argc, char **argv);
int ppm_cmd_search (int argc, char **argv);
int ppm_cmd_info   (int argc, char **argv);
int ppm_cmd_install(int argc, char **argv);
int ppm_cmd_remove (int argc, char **argv);
int ppm_cmd_update (int argc, char **argv);
int ppm_cmd_list   (int argc, char **argv);
int ppm_cmd_verify (int argc, char **argv);
int ppm_cmd_gc     (int argc, char **argv);

#endif /* PPM_CLI_H */
