mirror of
https://github.com/morten-olsen/mini-loader.git
synced 2026-02-08 01:36:26 +01:00
12 lines
253 B
TypeScript
12 lines
253 B
TypeScript
import { Command } from 'commander';
|
|
import { Config } from '../../config/config.js';
|
|
|
|
const use = new Command('use');
|
|
|
|
use.argument('<name>').action(async (name) => {
|
|
const config = new Config();
|
|
await config.setContext(name);
|
|
});
|
|
|
|
export { use };
|