// scripts/config/controller.config.ts
export const controllerPath = 'controllers';

export const controllerTemplate = (name: string) => `import { Request, Response, NextFunction } from 'express';

export class ${name}Controller {
  async show(req: Request, res: Response, next: NextFunction) {
    // TODO: Fetch and return a single ${name.toLowerCase()}
    res.send('${name}Controller show');
  }

  async update(req: Request, res: Response, next: NextFunction) {
    // TODO: Update an existing ${name.toLowerCase()}
    res.send('${name}Controller update');
  }

  async delete(req: Request, res: Response, next: NextFunction) {
    // TODO: Delete a ${name.toLowerCase()}
    res.send('${name}Controller delete');
  }
}
`;
