wesm87/wp-project-manager

View on GitHub
src/commands/config/create.ts

Summary

Maintainability
A
35 mins
Test Coverage
import { createConfigFile } from '../../include/project';

type Args = {
  force: boolean;
};

export default {
  command: 'config create',
  describe: 'create a new project.yml file with the default settings',
  builder: {},
  handler(argv: Args) {
    createConfigFile(argv.force);
  },
};