Skip to content

Include my_key prompt message#1

Open
n1ur0 wants to merge 1 commit intoladopixel:mainfrom
n1ur0:dev_prompt_key_name
Open

Include my_key prompt message#1
n1ur0 wants to merge 1 commit intoladopixel:mainfrom
n1ur0:dev_prompt_key_name

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.

2 participants