This just creates an empty command with an auto-assigned noop callback. This is useful sugar for creating a group of commands under a common name because previously the user would have to define their own noop callback and bind it. This just takes a description string (and, optionally, a help flag override).
12 lines
471 B
Zig
12 lines
471 B
Zig
pub const command = @import("./command.zig");
|
|
pub const converters = @import("./converters.zig");
|
|
pub const errors = @import("./errors.zig");
|
|
pub const help = @import("./help.zig");
|
|
pub const ncmeta = @import("./meta.zig");
|
|
pub const parameters = @import("./parameters.zig");
|
|
pub const parser = @import("./parser.zig");
|
|
|
|
pub const CommandBuilder = command.CommandBuilder;
|
|
pub const commandGroup = command.commandGroup;
|
|
pub const ParserInterface = parser.ParserInterface;
|