Files
bshell/bshell.runtime/include/bshell/command/cmdlet.h
T
wash edfb3e24a3 bshell: re-organise build into three separate components
bshell: the front-end binary
bshell.runtime: contains the parser, compiler, and classes needed to run bshell scripts
bshell.core: contains the builtin commandlets and aliases
2026-05-25 10:33:29 +01:00

26 lines
456 B
C

#ifndef BSHELL_COMMAND_CMDLET_H_
#define BSHELL_COMMAND_CMDLET_H_
#include "../verb.h"
#include <fx/macros.h>
FX_DECLS_BEGIN;
struct bshell_runtime;
#define BSHELL_TYPE_CMDLET (bshell_cmdlet_get_type())
FX_DECLARE_TYPE(bshell_cmdlet);
FX_TYPE_CLASS_DECLARATION_BEGIN(bshell_cmdlet)
enum bshell_verb_id c_verb;
const char *c_noun;
FX_TYPE_CLASS_DECLARATION_END(bshell_cmdlet)
extern fx_type_id bshell_cmdlet_get_type(void);
FX_DECLS_END;
#endif