Added CLI commands

This commit is contained in:
Eduard Urbach 2023-10-17 14:01:01 +02:00
parent ccb76696c3
commit 4f2bb677dc
Signed by: eduard
GPG key ID: 49226B848C78F6C8
10 changed files with 143 additions and 2 deletions

15
main_test.go Normal file
View 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())
}