Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include my_key prompt message #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

n1ur0
Copy link

@n1ur0 n1ur0 commented Aug 14, 2023

Small addition to prompt a message so user can write its API Key name and use it when starting its node.

@ladopixel
Copy link
Owner

Hi n1ur0,

It seems to me a very good idea, although now your code is not quite correct. We also need to check if ergo.conf exists to get out of the loop. As it is now, it asks for the name every time the node is started, even if ergo.conf is already created.
To know if the ergo.conf file exists we must know if it was created in the default directory or in one chosen by the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants