Add submodule for commands

The goal is to keep dependencies list minimal for users of the xmpp
modules. We do not want to force to increase largely the number of
indirect dependencies when you require xmpp.

The command-line stuff may not likely be needed in the end developer
application.
This commit is contained in:
Mickael Remond
2019-07-27 17:15:28 -07:00
parent f984a93e63
commit a23194ad96
4 changed files with 180 additions and 322 deletions

11
cmd/go.mod Normal file
View File

@@ -0,0 +1,11 @@
module gosrc.io/xmpp/cmd
go 1.12
require (
github.com/bdlm/log v0.1.19
github.com/bdlm/std v0.0.0-20180922040903-fd3b596111c7
github.com/spf13/cobra v0.0.5
gosrc.io/xmpp v0.1.1
github.com/spf13/viper v1.4.0
)