dirs for each subcmd
This commit is contained in:
parent
a05ebf985a
commit
8bd0da003e
6 changed files with 53 additions and 3 deletions
14
next/last.go
Normal file
14
next/last.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package next
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func Last() {
|
||||
ls, err := exec.Command("ls").Output()
|
||||
if err != nil {
|
||||
fmt.Print(err)
|
||||
}
|
||||
fmt.Printf("ls\n%s\n", string(ls))
|
||||
}
|
||||
Loading…
Reference in a new issue