Skip to content

v5.0.0

Latest
Compare
Choose a tag to compare
@alexandre-pod alexandre-pod released this 14 Aug 11:33
6d9fc55

This release is an entire rewrite of the templating system, allowing customization of template and settings.

Added

  • New templating system that allows definition of custom templates per project
  • A template can now declare multiple CLI arguments and flags
  • Generated files can be added to multiple targets
  • The base_path group and target can be configured independently for each generated file if needed.
  • Add validation that each variable used in a mustache file is provided by the template. The default provided variables are: filename, lowercase_filename, project_name, full_username and date
  • List of known templates is available using ccios --help

Changed

  • Default templates has been migrated to the new format
  • Configuration file (.ccios) format has been changed
  • Command line invocation has changed:
    • ccios -p Example [-d] is now ccios presenter Example [-d]
    • ccios -c Example [-d] is now ccios coordinator Example [-d]
    • ccios -i Example [-d] is now ccios interactor Example
    • ccios -r Example [-d] is now ccios repository Example
  • Some default provided mustache variables have been renamed:
    • name is now filename
    • lowercased_name is now lowercased_filename