Add Keybase's ExportPrivKey()/ImportPrivKey() API calls to export/import ASCII-armored private keys. Relevant keys subcommands are provided as well. Closes: #2020
16 lines
252 B
Go
16 lines
252 B
Go
package keys
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCommands(t *testing.T) {
|
|
rootCommands := Commands()
|
|
assert.NotNil(t, rootCommands)
|
|
|
|
// Commands are registered
|
|
assert.Equal(t, 10, len(rootCommands.Commands()))
|
|
}
|