Move commands to client/commands

This commit is contained in:
Ethan Frey 2017-07-18 21:57:37 +02:00
parent d9c39ff9e6
commit eb495e081b
27 changed files with 34 additions and 34 deletions

View File

@ -12,7 +12,7 @@ import (
"github.com/tendermint/tendermint/rpc/client"
lc "github.com/tendermint/light-client"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/light-client/proofs"
)

View File

@ -5,7 +5,7 @@ import (
"github.com/tendermint/go-wire/data"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/light-client/proofs"
)

View File

@ -3,7 +3,7 @@ package proofs
import (
"github.com/spf13/cobra"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/light-client/proofs"
)

View File

@ -15,7 +15,7 @@ import (
rpc "github.com/tendermint/tendermint/rpc/lib/server"
certclient "github.com/tendermint/light-client/certifiers/client"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
// RootCmd represents the base command when called without any subcommands

View File

@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/tendermint/rpc/client"
)

View File

@ -2,7 +2,7 @@ package rpc
import (
"github.com/spf13/cobra"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
var statusCmd = &cobra.Command{

View File

@ -9,7 +9,7 @@ import (
"github.com/tendermint/tendermint/rpc/client"
certclient "github.com/tendermint/light-client/certifiers/client"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
const (

View File

@ -3,7 +3,7 @@ package rpc
import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
func init() {

View File

@ -4,7 +4,7 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
var exportCmd = &cobra.Command{

View File

@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/tendermint/light-client/certifiers"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
const (

View File

@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/tendermint/light-client/certifiers"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
const (

View File

@ -5,7 +5,7 @@ import (
"github.com/spf13/cobra"
"github.com/tendermint/light-client/certifiers"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
)
var updateCmd = &cobra.Command{

View File

@ -14,7 +14,7 @@ import (
"github.com/pkg/errors"
"github.com/spf13/viper"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
crypto "github.com/tendermint/go-crypto"
keycmd "github.com/tendermint/go-crypto/cmd"
"github.com/tendermint/go-crypto/keys"

View File

@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
"github.com/spf13/pflag"
txcmd "github.com/tendermint/basecoin/commands/txs"
txcmd "github.com/tendermint/basecoin/client/commands/txs"
cmn "github.com/tendermint/tmlibs/common"
ctypes "github.com/tendermint/tendermint/rpc/core/types"

View File

@ -8,12 +8,12 @@ import (
"github.com/tendermint/abci/version"
keycmd "github.com/tendermint/go-crypto/cmd"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/commands/proofs"
"github.com/tendermint/basecoin/commands/proxy"
rpccmd "github.com/tendermint/basecoin/commands/rpc"
"github.com/tendermint/basecoin/commands/seeds"
"github.com/tendermint/basecoin/commands/txs"
"github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/basecoin/client/commands/proofs"
"github.com/tendermint/basecoin/client/commands/proxy"
rpccmd "github.com/tendermint/basecoin/client/commands/rpc"
"github.com/tendermint/basecoin/client/commands/seeds"
"github.com/tendermint/basecoin/client/commands/txs"
"github.com/tendermint/tmlibs/cli"
bcmd "github.com/tendermint/basecoin/cmd/basecli/commands"

View File

@ -4,7 +4,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
txcmd "github.com/tendermint/basecoin/commands/txs"
txcmd "github.com/tendermint/basecoin/client/commands/txs"
"github.com/tendermint/basecoin"
bcmd "github.com/tendermint/basecoin/cmd/basecli/commands"

View File

@ -3,7 +3,7 @@ package commands
import (
"github.com/spf13/cobra"
proofcmd "github.com/tendermint/basecoin/commands/proofs"
proofcmd "github.com/tendermint/basecoin/client/commands/proofs"
"github.com/tendermint/basecoin/docs/guide/counter/plugins/counter"
"github.com/tendermint/basecoin/stack"

View File

@ -6,11 +6,11 @@ import (
"github.com/spf13/cobra"
keycmd "github.com/tendermint/go-crypto/cmd"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/commands/proofs"
"github.com/tendermint/basecoin/commands/proxy"
"github.com/tendermint/basecoin/commands/seeds"
"github.com/tendermint/basecoin/commands/txs"
"github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/basecoin/client/commands/proofs"
"github.com/tendermint/basecoin/client/commands/proxy"
"github.com/tendermint/basecoin/client/commands/seeds"
"github.com/tendermint/basecoin/client/commands/txs"
"github.com/tendermint/tmlibs/cli"
bcmd "github.com/tendermint/basecoin/cmd/basecli/commands"

View File

@ -6,7 +6,7 @@ import (
"github.com/spf13/pflag"
"github.com/spf13/viper"
"github.com/tendermint/basecoin/commands"
"github.com/tendermint/basecoin/client/commands"
"github.com/tendermint/basecoin"
bcmd "github.com/tendermint/basecoin/cmd/basecli/commands"

View File

@ -5,8 +5,8 @@ import (
"github.com/spf13/cobra"
lc "github.com/tendermint/light-client"
lcmd "github.com/tendermint/basecoin/commands"
proofcmd "github.com/tendermint/basecoin/commands/proofs"
lcmd "github.com/tendermint/basecoin/client/commands"
proofcmd "github.com/tendermint/basecoin/client/commands/proofs"
"github.com/tendermint/basecoin/modules/auth"
"github.com/tendermint/basecoin/modules/coin"

View File

@ -4,8 +4,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/tendermint/basecoin/commands"
txcmd "github.com/tendermint/basecoin/commands/txs"
"github.com/tendermint/basecoin/client/commands"
txcmd "github.com/tendermint/basecoin/client/commands/txs"
"github.com/tendermint/basecoin"
bcmd "github.com/tendermint/basecoin/cmd/basecli/commands"

View File

@ -7,8 +7,8 @@ import (
"github.com/spf13/cobra"
lc "github.com/tendermint/light-client"
lcmd "github.com/tendermint/basecoin/commands"
proofcmd "github.com/tendermint/basecoin/commands/proofs"
lcmd "github.com/tendermint/basecoin/client/commands"
proofcmd "github.com/tendermint/basecoin/client/commands/proofs"
"github.com/tendermint/basecoin/modules/nonce"
"github.com/tendermint/basecoin/stack"