package
7.2.0+incompatible
Repository: https://github.com/godofdream/siris.git
Documentation: pkg.go.dev
# Functions
Command executes a command in shell and returns it's output, it's block version.
CommandBuilder creates a Cmd object and returns it accepts 2 parameters, one is optionally first parameter is the command (string) second variatic parameter is the argument(s) (slice of string)
the difference from the normal Command function is that you can re-use this Cmd, it doesn't execute until you call its Command function.
Exists returns true if directory||file exists.
MustCommand executes a command in shell and returns it's output, it's block version.
NodeModuleAbs returns the absolute path of the global node_modules directory + relative.
NodeModuleExists returns true if a module exists here we have two options1 .
NodeModuleInstall installs a module.
NodeModulesPath sets the root directory for the node_modules and returns that.
NodeModuleUnistall removes a module.
# Variables
PathSeparator is the string of os.PathSeparator.