Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gurgunday/tasksmith

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasksmith

Task Automation for Deno



License Test

Overview

Tasksmith is a task automation tool for Deno that routes the first command line argument to TypeScript functions. It also has a suite functions to assist with various task automation workflows.

License: MIT

Install

Tasksmith is only available via tagged revision provided by this repository.

// file: deno.json

{
  "imports": {
    "tasksmith": "https://raw.githubusercontent.com/sinclairzx81/tasksmith/0.9.0/src/index.ts"
  }
}

Usage

Tasksmith will route the first command line argument to a function.

import { Task } from 'tasksmith'

Task.run('test', () => console.log('test'))

Task.run('build', () => console.log('build'))

Tasks are usually configured and run from deno.json

// file: deno.json

{
  "tasks": {
    "test": "deno run -A tasks.ts test",
    "build": "deno run -A tasks.ts build" 
  }
}

About

Automation Tooling for Deno

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.7%
  • Other 0.3%