Problem statement
Is it possible to change the default editor that is used when using the Auth0 CLI to add a footer to the New Universal Login page template? Can this be changed to use VS Code instead?
Solution
It is possible to choose a different editor for use with Auth0 CLI, as explained in the README file.
To change the text editor used for editing templates, rules, and actions, set the environment variable EDITOR
to your preferred editor.
Examples include the folllowing:
# Uses vscode with the --wait flag. export EDITOR="code --wait"
# Uses sublime text with the --wait flag. export EDITOR="subl --wait"
# Uses nano, a terminal based editor. export EDITOR="nano"
# Uses vim, a terminal based editor. export EDITOR="vim"