Skip to content
suit Artifact [8d24c0fbc3]
Login

Artifact [8d24c0fbc3]

Artifact 8d24c0fbc30b3effe132d8dbcfec195a8d0d71b9921d2c2b2df358bbaef46d1d:


#ifndef SUIT_COMMANDS_H
#define SUIT_COMMANDS_H

// The wardrobe suit applies is named "mine". Its store holds suit.conf.
#define WARDROBE_NAME "mine"

// Each returns an exit code and reports on stdout and stderr.
int cmd_plan(void);
int cmd_apply(void);
int cmd_status(void);
int cmd_off(void);
int cmd_run(void);
// NAME is null to show the machine's name.
int cmd_machine(const char *name);
// VERB is null to list the roots, else "add" or "rm" with ARG the folder. ARG is changed.
int cmd_roots(const char *verb, char *arg);
// Show the list the last scan wrote, or with SCAN make it.
int cmd_projects(bool scan);
// Set (KEY given) or unset the remote key of the project at PATH by hand. PATH is changed.
int cmd_project(char *path, const char *key);

#endif