#Fix (Mix for F#) Fix is a command line tool that provides tasks for creating F# projects with no dependence on other languages.
When called without any arguments Fix automatically goes into an interactive mode.
new [projectName] - Creates a new project with the given name
file add [fileName] - Adds a file to the current folder and project.
If more than one project is in the current
directory you will be prompted which to use.
refresh - Refreshes the template cache
help - Displays this help
exit - Exit interactive mode
fix new [projectName]
On the first run Fix will download the templates found in the Generator F# Repository and then allow you to choose which template you'd like to base your new project from.
C:\Dev>c:\tools\fix\fix.exe
>
Fix (Mix for F#)
Available Commands:
new [projectName] - Creates a new project with the given name
refresh - Refreshes the template cache
help - Displays this help
> new MySuaveProject
Choose a template:
- aspwebapi2
- classlib
- console
- fslabbasic
- fslabjournal
- sln
- suave
- websharperserverclient
- websharperspa
- windows
> suave
Fixing template suave
Creating C:\Dev\MySuaveProject
Changing filenames from ApplicationName.* to MySuaveProject.*
Changing namespace to MySuaveProject
Changing guid to bb3d79ee-318d-435f-8807-54b2585b057c
Done!
fix file add [fileName]
Adds a file to the current folder and project. If more than one project file exists in the current directory you will be prompted which project you wish to add the file to.
This is still in very early stages so you'll need to clone the repo, build the source, and then move the files in your bin folder to a location of your choosing.