Skip to content

Releases

change git url

Choose a tag to compare

@michelphp michelphp released this 04 Sep 18:22
1.0.2

Standardize error output handling

Standardize error output handling

Choose a tag to compare

@michelphp michelphp released this 16 Dec 13:21
  • Add an error() method to OutputInterface to create a dedicated channel for error messages.
  • The Output class now handles writing to STDERR when the error method is used.
  • ConsoleOutput is updated to use the new error() method for consistent error handling.

initial commit for Michel PHP Console v1

Choose a tag to compare

@michelphp michelphp released this 15 Dec 11:14
  • Added base architecture for the console package.
  • Implemented CommandRunner and CommandParser.
  • Provided Output and ConsoleOutput classes for handling CLI output.
  • Introduced support for arguments and options with CommandArgument and CommandOption.
  • Created sample UserReportCommand demonstrating all output features.
  • Added basic installation and usage documentation in the README.
  • Add the ability to set a default value for command options.
  • The CommandRunner is updated to use the default value if an option is not provided and to display it in the command help.