Commit a76f6af1 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

remove old cat

parent f923652d
......@@ -24,32 +24,3 @@ var catCmd = makeCommand(command{
flags: nil,
cmdFn: commands.Cat,
})
/*
func catCmd(c *commander.Command, inp []string) error {
if len(inp) < 1 {
u.POut(c.Long)
return nil
}
conf, err := getConfigDir(c.Parent)
if err != nil {
return err
}
com := daemon.NewCommand()
com.Command = "cat"
com.Args = inp
err = daemon.SendCommand(com, conf)
if err != nil {
n, err := localNode(conf, false)
if err != nil {
return err
}
return commands.Cat(n, com.Args, com.Opts, os.Stdout)
}
return nil
}
*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment