use cobra for cli

reorganize a bit to be able to use it
This commit is contained in:
vagrant
2020-04-10 13:12:18 +00:00
parent 1c235025b7
commit 59b11eb80c
5 changed files with 331 additions and 209 deletions

2
go.mod
View File

@@ -52,8 +52,8 @@ require (
github.com/pkg/sftp v1.10.1 // indirect
github.com/pterodactyl/sftp-server v1.1.1
github.com/remeh/sizedwaitgroup v0.0.0-20180822144253-5e7302b12cce
github.com/sirupsen/logrus v1.0.5 // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/spf13/cobra v0.0.7
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.5.1 // indirect
go.uber.org/atomic v1.5.1 // indirect