<commit_before>package commands

import (
	"context"
	"encoding/hex"
	"fmt"
	"os"

	"time"

	"io/ioutil"

	"github.com/howeyc/gopass"
	"github.com/hyperledger/burrow/config"
	"github.com/hyperledger/burrow/crypto"
	"github.com/hyperledger/burrow/keys"
	"github.com/hyperledger/burrow/keys/pbkeys"
	"github.com/hyperledger/burrow/logging/lifecycle"
	"github.com/jawher/mow.cli"
	"google.golang.org/grpc"
)

func Keys(output Output) func(cmd *cli.Cmd) {
	return func(cmd *cli.Cmd) {
		keysHost := cmd.String(cli.StringOpt{
			Name:   "host",
			Desc:   "set the host for talking to the key daemon",
			Value:  keys.DefaultHost,
			EnvVar: "MONAX_KEYS_HOST",
		})

		keysPort := cmd.String(cli.StringOpt{
			Name:   "host",
			Desc:   "set the port for key daemon",
			Value:  keys.DefaultPort,<commit_msg>Fix burrow keys -port command line option<commit_after>package commands

import (
	"context"
	"encoding/hex"
	"fmt"
	"os"

	"time"

	"io/ioutil"

	"github.com/howeyc/gopass"
	"github.com/hyperledger/burrow/config"
	"github.com/hyperledger/burrow/crypto"
	"github.com/hyperledger/burrow/keys"
	"github.com/hyperledger/burrow/keys/pbkeys"
	"github.com/hyperledger/burrow/logging/lifecycle"
	"github.com/jawher/mow.cli"
	"google.golang.org/grpc"
)

func Keys(output Output) func(cmd *cli.Cmd) {
	return func(cmd *cli.Cmd) {
		keysHost := cmd.String(cli.StringOpt{
			Name:   "host",
			Desc:   "set the host for talking to the key daemon",
			Value:  keys.DefaultHost,
			EnvVar: "MONAX_KEYS_HOST",
		})

		keysPort := cmd.String(cli.StringOpt{
			Name:   "port",
			Desc:   "set the port for key daemon",
			Value:  keys.DefaultPort,
{'fraction_non_alphanumeric': 0.14626682986536108, 'fraction_numerical': 0.0, 'mean_word_length': 3.924698795180723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '330088', 'n_tokens_mistral': 699, 'n_tokens_neox': 652, 'n_words': 117}