Documentation
¶
Overview ¶
Package command provides structures and functions to create and manage system commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command represents a system command with its name and arguments.
func NewCommand ¶
NewCommand creates and returns a new Command instance with the specified name and arguments.
Parameters:
- name: The name of the command to be executed.
- args: A variadic list of arguments for the command.
Click to show internal directories.
Click to hide internal directories.