1.0.9 • Published 1 year ago
billymoor v1.0.9
Task Runner
Task Runner is a lightweight Node.js package for running tasks easily from the command line. It allows you to define tasks as functions and execute them using a simple command.
Installation
To install Task Runner, simply use npm:
npm install -g task-runnerUsage
After installing Task Runner globally, you can use it from the command line by specifying the task name.
task-runner <taskName>For example, to run the "hello" task:
task-runner helloTo run the "build" task:
task-runner buildDefining Tasks
You can define tasks by adding them to the task-runner.js file. Each task is defined as a function and added to the TaskRunner instance using the addTask method.
taskRunner.addTask('taskName', () => {
    // Task logic goes here
    console.log('Task executed!');
});License
This project is licensed under the MIT License - see the LICENSE file for details.