func ConfigCmd() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "config",
		Short: "Configuration",
		Args:  cobra.MinimumNArgs(1),
	}
	cmd.AddCommand(
		ConfigTxCmd(),
		QueryConfigCmd(),
	)
	return cmd
}
ConfigCmd config command
package commands
import (
	"encoding/hex"
	"fmt"
	"os"
	"github.com/33cn/chain33/util"
	"github.com/33cn/chain33/rpc/jsonclient"
	rpctypes "github.com/33cn/chain33/rpc/types"
	pty "github.com/33cn/chain33/system/dapp/manage/types"
	"github.com/33cn/chain33/types"
	"github.com/spf13/cobra"
)