Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Utils ¶
type Utils struct{}
utils is an internal helper type providing argument parsing functionality.
func (*Utils) ParseArgs ¶
parse_args processes a slice of command-line arguments. It detects flags prefixed with "--" (e.g., "--flag", "--key=value", "--key:value"). Flags without a value are stored with an empty string. Returns a map of flag names to their values, and a slice of non-flag arguments.
Click to show internal directories.
Click to hide internal directories.