keybase / keybase/client

'keybase device add' -> error: argument "subcommand_name" invalid

Open
#1,545 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

Context

I just contributed to an issue here #1399 but as I suspect the following issue is distinct, I moved it to a new thread. I'm trying to add a new device to my keybase account with the keybase device add command listed here in docs.

Issue

On my new machine:
keybase login
returns a verification code and

If you are using the command line client on your other device, run this command:
keybase device add

On my old machine:
keybase device add
returns

keybase: error: argument "subcommand_name" Invalid choice: device...

and then proceeds to list a bunch of commands that are valid, but none relevant to adding devices

What I tried

I thought maybe because I setup my old machine early, I would try uninstalling the node version and re-installing the brew package listed in docs. So I did that, no dice. Still the same issue :(.

Anyone else having problems adding devices, or have any tips about this, I'd be so happy to hear them.
Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the command-line documentation linked in the issue and the keybase device add entry point. Reproduce the invalid subcommand_name error, then compare the documented device-add flow with the commands exposed by the client; done means the documented command is accepted and supports adding a device.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.