Move packages/apps back
This commit is contained in:
parent
6eaaf8e9be
commit
5535d6b575
348 changed files with 0 additions and 0 deletions
18
packages/metamigo-cli/config.ts
Normal file
18
packages/metamigo-cli/config.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { generateConfig, printConfigOptions } from "common";
|
||||
import { loadConfigRaw } from "config";
|
||||
|
||||
export const genConf = async (): Promise<void> => {
|
||||
const c = await loadConfigRaw();
|
||||
const generated = generateConfig(c);
|
||||
console.log(generated);
|
||||
};
|
||||
|
||||
export const genSchema = async (): Promise<void> => {
|
||||
const c = await loadConfigRaw();
|
||||
console.log(c.getSchemaString());
|
||||
};
|
||||
|
||||
export const listConfig = async (): Promise<void> => {
|
||||
const c = await loadConfigRaw();
|
||||
printConfigOptions(c);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue