Skip to content

v0.26.1

@novopl novopl tagged this 27 Oct 13:29
Features
--------

- Added —blank flag to `peltak init` that creates a blank configuration with
  just the most basic scaffolding.
- Added —force flag to `peltak init` that will skip the wipe confirmation when
  `pelconf.yaml` already exists and will just overwrite it.
- Added basic verbose support to `peltak init`. When `-v` flag is passed, the
  generated config file will be printed in highlighted syntaxt into the command
  standard output.
- Documentation for `peltak.core` package. This package will be most likely
  heavily used by many custom commands so it should be well documented.

Changes
-------

- Renamed `peltak.extra.scripts.types.ScriptFiles` to
  `peltak.core.types.FilesCollection`
- Moved `peltak.extra.scripts.logic.collect_files` to
  `peltak.core.fs.collect_files`.
- From now on peltak will use jinja2 templates to render the initial
  `pelconf.yaml` file generated by `peltak init` command. This is more flexible
  than string formatting and we already have the templating code for scripts.
- Move peltak.extra.scripts.templates to peltak.core.templates. The template
  engine will be used in other places than just scripts so it’s logical to move
  it to the core.
Assets 2