Skip to content

hyrious/lbq

Repository files navigation

@hyrious/lbq

Simple command line task runner written in Node.js.

Usage

$ npm i -g @hyrious/lbq
$ lbq --edit

Configuration

lbq loads {configPath}/lbq/index.ts to get all commands, where configPath is:

  • Windows: %LOCALAPPDATA%
  • macOS: ~/Library/Preferences
  • Linux: $XDG_CONFIG_HOME or ~/.config

lbq uses jiti under the hood to load TypeScript files. So you can use jiti's environment variables to configure its behaviors or debug it.

You can use lbq --edit to open an editor in the config folder.

Example config file:

// {configPath}/lbq/index.ts
import { defineConfig } from 'lbq'

export default register => {
  register('hello', () => {
    console.log('world')
  })
}

License

MIT @ hyrious

About

Simple command line task runner written in Node.js

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors