JoaoCarabetta / project-templates

Fast Project Templates
12 stars 4 forks source link

Read from credentials files #22

Closed fernandascovino closed 4 years ago

fernandascovino commented 5 years ago

Make a .yml file with all the inputs called by bash - and you'll never need to enter them again

JoaoCarabetta commented 5 years ago

Can you explain the idea? I didnt get it

fernandascovino commented 5 years ago

These entries we use (username, password, name) could be all in a file read from start_project.sh, like:

my_cred:
    name: eu
    password: panquecas
    username: euzinha

so that you don't need to fill them all the time... and maybe you could only pass the key (makes it easy if u also want to use multiple accounts)