Freedcamp Script Runner
The best script runner of ALL time!
Installation
yarn add -D fscripts
We recommend to add the following line to your package.json
{ scripts: { fsr: "fsr", start: "fsr start", list: "fsr list" }}
Usage
fsr <command> [options]
Commands
fsr Choose a script runner commandfsr start Choose category then task to runfsr scripts Choose a script from package.jsonfsr list Select any task with text autocompletionfsr run Run a specific taskfsr run-s Run a set of tasks one after anotherfsr run-p Run tasks in parallelfsr clear Clear recent task historyfsr generate Generate a sample fscripts.md file from the package.jsonfsr toc Generate updated Table of Contents on top of the fscripts.md file Options:--help Show help--version Show version number
Examples
fsr Choose a script runner commandfsr start Open a task selection selectorfsr scripts Choose a script from package.jsonfsr upgrade Upgrade all dependencies from package.json, except ones inside the fscripts.ignore-upgradefsr list Show you all tasks you can runfsr run start:web Run task 'start:web'fsr run-s start:web start:desktop Run task 'start:web' and afterwards 'start:desktop'fsr run-p start:web start:desktop Run task 'start:web' and at the same time 'start:desktop'fsr clear Clear your recently run tasksfsr generate Generates a sample.fscripts.md you can use as template