Skip to content

Remove Confusing String When Authenticating Through Password #55

@zakuArbor

Description

@zakuArbor

There is a confusing string that is printed when you do not have the environment variable NEOCITIES_API_KEY set: Please login to get your API key:

$ neocities list
Please login to get your API key:
sitename: <random_site>
password: ••••••••••••••••••••••••••••••••••••

File: lib/neocities/cli.rb
Line: 72
Link:

puts "Please login to get your API key:"

Requested Solution: Remove this line

Reason: There will be users who will think they will need to place the API key instead of their password. I did not realize it was asking for a password because it mentioned API key before prompting me for my sitename and password. I do recognize in hindsight that it was asking for a password but it would ease potential friction for future users of the tool.

Helpful Issue: #31

p.s. thanks for the useful tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions