FusionAuth / fusionauth-node-cli

https://fusionauth.io
Other
1 stars 6 forks source link

Support pulling down a theme from the command line #3

Closed mooreds closed 1 year ago

mooreds commented 1 year ago

Right now we require an environment file. It would be nice to be override elements of it (particularly theme id and tmp dir name) from the command line.

ColinFrick commented 1 year ago

@mooreds That's already possible with the CLI, do you mean extending the https://github.com/FusionAuth/fusionauth-theme-helper/ download.sh / upload.sh ?

Theme helper just uses the environment variables from the .env file: npx fusionauth theme:download $THEME_ID -k $API_KEY -o $TMP_DIR -h $FUSIONAUTH_URL

mooreds commented 1 year ago

Ah, I didn't know that. I think this issue can be closed.