tractor-output
v3.0.0
Published
Provides a binary to parse tractor output
Readme
tractor-output
Install the executable from NPM
npm install -g tractor-outputUse it like so:
tractor-output-exe -b chrome -c peach ~/Downloads/tractor-firefox-1501489618.txtInstall and build from source
- Install Haskell Stack
stack setupstack build
Running the App
stack ghci- to enter the REPL- `:set args -b "chrome" -c "color" "filepath.txt"
- this sets the values that
getArgswill return when called inmain
- this sets the values that
mainexecutes the actual programctrl + dto exit the REPL
Publish to NPM
- Bump package.json and tractor-output.cabal to the new version.
npm publish
TODO
- move to github
- browser and color should be optional
- if they are not present they should be parsed from the file
- browser should be checked against list of browsers?
- maybe this isn't necessary now since we know which arg was the browser?
- could be helpful, but will also need to be maintained
- should I verify the file?
- you already get an error if it isn't there - maybe that isn't on me?
- TESTS!!!!
