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 }