mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-11 15:33:06 +00:00
abf573fa47
zero in device UUID). This commit is fairly chunky because it adds the oclif dependency for the first time, and refactors the CLI help and docs generation code to accommodate both Capitano and oclif. Change-type: patch Signed-off-by: Paulo Castro <paulo@balena.io>
13 lines
358 B
JavaScript
Executable File
13 lines
358 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// We boost the threadpool size as ext2fs can deadlock with some
|
|
// operations otherwise, if the pool runs out.
|
|
process.env.UV_THREADPOOL_SIZE = '64';
|
|
|
|
// Use fast-boot to cache require lookups, speeding up startup
|
|
require('fast-boot2').start({
|
|
cacheFile: __dirname + '/.fast-boot.json'
|
|
})
|
|
// Run the CLI
|
|
require('../build/app').run();
|