Varlock
Enabled
Section titled “Enabled”This plugin is enabled if "varlock" is listed in "dependencies" or "devDependencies" in package.json.
Shell commands
Section titled “Shell commands”This plugin adds argument parsing for the varlock
binary. Configuration:
alias: {"path": ["p"]}string: ["path", "env"]fromArgs: parsed => (parsed._[0] === 'run' ? (parsed['--'] ?? []) : [])resolveInputs: (parsed, { cwd, manifest }) => { const paths = arrayify(parsed.path); const loadPaths = getLoadPaths(manifest); const environment = arrayify(parsed.env).at(-1); return scanVarlockFiles( paths.length > 0 ? paths : environment ? (loadPaths.length > 0 ? loadPaths : ['.']) : [], cwd ); }The configuration was generated from source code. Also see Script Parser.
Generated from source
Section titled “Generated from source”This page was generated from the varlock plugin source code.
ISC License © 2026Lars Kappert