Configuration
Custom commands

Custom comamnds

Incremental computation framework is very good for running commands. It is very easy to create custom commands and subcommands.

import { commands, subcommands } from 'taskend';
 
 
export const commands = comamnds(() => {
    // Normal command are declared using `{}`
    lint: {
 
    },
    // Subcommands are declared using `t.subcommands`
    test: subcommands({
        default: {
            // Default subcommand is executed when no subcommand is specified.
            // Note that `default` is optional, and if you don't specify the default, the command will fail if no subcommand is specified.
        },
    }),
})