Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.01 KB

ROADMAP.md

File metadata and controls

30 lines (24 loc) · 1.01 KB

Milestone 1

Target version: 1.0.0

Features:

CLI implementation

Create Group

  • create:class [options] className
  • create:interface [options] className
  • create:abstract [options] className
  • create:trait [options] className

Implement Group

  • extend:class [options] className interface1 [interface2]
  • extend:abstract [options] className interface1 [interface2]
  • implement:abstract [options] className interface1 [interface2]
  • implement:class [options] className interface1 [interface2]

Options for Create and Implement Groups:

  • --check-class-exists|-c Check, that all usages classes available with autoload.
  • --default-path|-d Path to generated files, when autoloader can't suggest anything for this namespace.
  • --parents|-p List of parent classes (and interfaces).
  • --overwrite|-w Overwrite existing file on collision.
  • --output|-o Target file or stream.

API

Generator

See \FreeElephants\GeneralPi\GeneratorInterface and related.