Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.4 KB

cli.md

File metadata and controls

55 lines (32 loc) · 1.4 KB

Alias HQ CLI

Command line tool to generate configuration, rewrite source code, and debug plugins

alias cli

Overview

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:

Troubleshooting

Running the CLI

If typing alias-hq does not run the CLI, you'll need to add node_modules/.bin to your system path.

Mac

Add the following line to ~/.bash_profile or equivalent (note: ~/.zshrc on the latest OSX!):

export PATH=./node_modules/.bin:$PATH

Windows

Follow the Instructions here.

Last resort

If you are unable to modify your system path, just call the CLI directly:

./node_modules/.bin/alias-hq

Clickable links

The following plugin enables clickable links in WebStorm (useful when updating source code):

VS Code displays them by default.