Added CLI commands
This commit is contained in:
parent
ccb76696c3
commit
4f2bb677dc
10 changed files with 143 additions and 2 deletions
15
main_test.go
Normal file
15
main_test.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package main_test
|
||||
|
||||
import (
|
||||
"io"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"git.akyoto.dev/cli/q/log"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
log.Info.SetOutput(io.Discard)
|
||||
log.Error.SetOutput(io.Discard)
|
||||
os.Exit(m.Run())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue