Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2023 Changes in this version + func CreateConfigFile(dirPath string, email string) error + func GenerateKeyPair() (ed25519.PublicKey, ed25519.PrivateKey, error) + func ValidateKeyPair(pubKey ed25519.PublicKey, privKey ed25519.PrivateKey) bool + func WriteKeysToFile(pubKeyPath string, privKeyPath string, pubKey ed25519.PublicKey, ...) error + type Config struct + Email string + Name string + type InitCmd struct + func (*InitCmd) Name() string + func (*InitCmd) Synopsis() string + func (*InitCmd) Usage() string + func (c *InitCmd) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus + func (c *InitCmd) SetFlags(f *flag.FlagSet) + type NewCmd struct + func (*NewCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus + func (*NewCmd) Name() string + func (*NewCmd) SetFlags(f *flag.FlagSet) + func (*NewCmd) Synopsis() string + func (*NewCmd) Usage() string + type SetCmd struct + func (*SetCmd) Name() string + func (*SetCmd) Synopsis() string + func (*SetCmd) Usage() string + func (c *SetCmd) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus + func (c *SetCmd) SetFlags(f *flag.FlagSet)