@hyrious/lbq
v0.2.1
Published
Simple command line task runner written in Node.js
Readme
@hyrious/lbq
Simple command line task runner written in Node.js.
Usage
$ npm i -g @hyrious/lbq
$ lbq --editConfiguration
lbq loads {configPath}/lbq/index.ts to get all commands, where configPath is:
- Windows:
%LOCALAPPDATA% - macOS:
~/Library/Preferences - Linux:
$XDG_CONFIG_HOMEor~/.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
