Provides a wrapper around handling a commandline properly.
More...
|
| Commandline (string command, params string[] args) |
| Wraps a command and arguments.
|
override string | ToString () |
| Produces the full commandline for the provided command and args.
|
|
string | Command [get] |
| The base command (program, batch file, etc) for this commandline.
|
string[] | Args [get] |
| The arguments passed to this command.
|
Provides a wrapper around handling a commandline properly.
◆ Commandline()
PeanutButter.Utils.Commandline.Commandline |
( |
string | command, |
|
|
params string[] | args ) |
Wraps a command and arguments.
- Parameters
-
◆ operator Commandline()
implicit PeanutButter.Utils.Commandline.operator Commandline |
( |
string | s | ) |
|
|
static |
Implicitly cast a commandline string to a Commandline instance.
- Parameters
-
- Returns
◆ operator string()
implicit PeanutButter.Utils.Commandline.operator string |
( |
Commandline | o | ) |
|
|
static |
Implicitly cast a Commandline instance to a string.
- Parameters
-
- Returns
◆ Parse()
Commandline PeanutButter.Utils.Commandline.Parse |
( |
string | commandline | ) |
|
|
static |
Parse a commandline into the command and args components.
- Parameters
-
- Returns
◆ ToString()
override string PeanutButter.Utils.Commandline.ToString |
( |
| ) |
|
Produces the full commandline for the provided command and args.
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/Commandline.cs