Move commands to client/commands
This commit is contained in:
parent
d9c39ff9e6
commit
eb495e081b
@ -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"
|
||||
)
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
@ -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"
|
||||
)
|
||||
|
||||
@ -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
|
||||
@ -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"
|
||||
)
|
||||
@ -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{
|
||||
@ -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 (
|
||||
@ -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() {
|
||||
@ -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{
|
||||
@ -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 (
|
||||
@ -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 (
|
||||
@ -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{
|
||||
@ -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"
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user