func getConfigCmd() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "config",
		Short: "Get node config",
		Run:   config,
	}
	return cmd
}
SystemCmd get system config command
package commands
import (
	"github.com/33cn/chain33/rpc/jsonclient"
	rpctypes "github.com/33cn/chain33/rpc/types"
	"github.com/spf13/cobra"
)
func SystemCmd() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "system",
		Short: "Get node system info",
		Args:  cobra.MinimumNArgs(1),
	}
	cmd.AddCommand(
		getConfigCmd(),
	)
	return cmd
}