You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
333 B
Go

package commands
type GetConfCommand struct{}
func (c *GetConfCommand) Execute(shell *Shell, args []string) error {
if len(args) > 0 {
switch args[0] {
case "PATH":
shell.WriteOutputString(fakePath + "\n" + trampSuccess)
case "PIPE_BUF":
shell.WriteOutputString(fakePipeBuf + "\n" + trampSuccess)
}
}
return nil
}