Mirror of https://github.com/roostorg/coop github.com/roostorg/coop
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 11 lines 432 B view raw
1#!/usr/bin/env node 2import path from 'path'; 3 4import { makeCli } from './index.js'; 5 6// For now, discover the configs by reading the filesystem, at a path that's 7// overrideable by an env var. This is simpler than taking a CLI option that 8// we'd have to set with every command invocation. 9const configPath = process.env.MIGRATOR_CONFIG_PATH ?? './configs/index.js'; 10 11makeCli(await import(path.resolve(process.cwd(), configPath)));