mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 18:48:33 -04:00
feat: Added help output for commands.
This commit is contained in:
@@ -6,7 +6,8 @@ pub const Command = struct {
|
|||||||
name: []const u8,
|
name: []const u8,
|
||||||
short: ?[]const u8 = null,
|
short: ?[]const u8 = null,
|
||||||
long: ?[]const u8 = null,
|
long: ?[]const u8 = null,
|
||||||
subcommands: []const Command = &[0]Command{},
|
subcommands: []const Command = &.{},
|
||||||
|
examples: [][]const u8 = &.{},
|
||||||
Type: type,
|
Type: type,
|
||||||
|
|
||||||
pub fn new(cmd: CommandOptions) Command {
|
pub fn new(cmd: CommandOptions) Command {
|
||||||
|
|||||||
Reference in New Issue
Block a user