UNPKG

451 BPlain TextView Raw
1#!/usr/bin/env node
2
3// This file is the entry point for when this package is run as a CLI. Though
4// this file is not executable, the above "shebang" line is necessary as an
5// indicator to npm that this file is a Node.js script, not a shell script e.g.
6
7import { runCliAndExit } from '@alwaysai/alwayscli';
8
9import { enhancer } from './enhancer';
10import { root } from './root';
11
12if (module === require.main) {
13 runCliAndExit(root, { enhancer });
14}