-
Notifications
You must be signed in to change notification settings - Fork 9
Command Line Tool Reference
Install Cabal, a Haskell package manager, by following these instructions. Then, run cabal install axel
to install the Axel library and executable. (If you use Stack, run stack exec -- cabal install axel
instead.)
Axel uses Stack under-the-hood, so you should configure your project through the package.yaml
file in the root of your project.
If you're migrating a project from Haskell to Axel file-by-file, you should still use the Axel command line tool to interact with your project.
NOTE: The Haskell to Axel converter is currently in progress (#63).
To convert a Haskell project to Axel, enter the root directory of the project and run axel project convert
.
NOTE: The Haskell to Axel converter is currently in progress (#63).
To convert a single Haskell file to Axel, run axel file convert <file path>
.
To build and run an Axel project, enter the root directory of the project and run axel project run
.
To build and run a single Axel file, run axel file run <file path>
.
To auto-format an Axel project, enter the root directory of the project and run axel project format
.
To auto-format a single Axel file, run axel file format <file path>
.