UNPKG

rgen-cli

Version:

A developer CLI for initializing React projects, managing utilities, and scaffolding components, hooks, pages, layouts, routes, and contexts quickly.

12 lines (11 loc) 399 B
import { Command } from '@oclif/core'; import Build from './build.js'; import { RouterFlag } from './types/type.js'; type templateType = 'index' | 'not-found' | 'root' | undefined; export default class Route<T extends RouterFlag> extends Build<T> { templateType: templateType; constructor(cmd: Command, name: string, flags: T); setup(): Promise<void>; private template; } export {};