Command line tool to generate configuration, rewrite source code, and debug plugins
The Alias HQ CLI is designed to make the configuration and refactoring your project as simple as picking some options, and hitting enter.
In the terminal, run the following code:
alias-hq
Choose from the available options:
- Configure paths - create or configure your project's path aliases
- Setup integrations - configure and debug integrations for Webpack, Jest, etc
- Update source code - refactor source code with your configured aliases
If typing alias-hq
does not run the CLI, you'll need to add node_modules/.bin
to your system path.
Add the following line to ~/.bash_profile
or equivalent (note: ~/.zshrc
on the latest OSX!):
export PATH=./node_modules/.bin:$PATH
Follow the Instructions here.
If you are unable to modify your system path, just call the CLI directly:
./node_modules/.bin/alias-hq
The following plugin enables clickable links in WebStorm (useful when updating source code):
VS Code displays them by default.