Categorygithub.com/PGo-Projects/shell
modulepackage
0.0.0-20200514145702-bdf0a2de5378
Repository: https://github.com/pgo-projects/shell.git
Documentation: pkg.go.dev

# README

shell

Running shell commands and working with shell arguments

# Functions

CommandExists check to see if the specified command exists.
ExecuteCommand runs a command with given args.
ExecuteShellCommand runs a command via the shell.
ExecuteShellCommandAsync runs a command via the shell asynchronously.
GetFlagValue returns the associated value for the specified flags given a token.
GetTokens retrieves the individual components of the given command.
IsFlag returns whether the given token matches either flag Specify flag arg as empty if that type of flag shouldn't be considered be considered.