Skip to content

Releases: pyTooling/pyTooling.CLIAbstraction

v0.4.1

07 Jul 22:20
e80d794
Compare
Choose a tag to compare

Release created on: 07.07.2023 - 22:20:50

New Features

None

Changes

  • Bumped dependencies.
  • Changed string formatting to use f-strings.
  • Added more roles to Sphinx.
  • Changed pipeline to use dev branches of pipeline templates.

Bug Fixes

  • Fixed Python module index.

v0.4.0

02 Mar 10:51
3b17490
Compare
Choose a tag to compare

Release created on: 02.03.2022 - 10:51:49

New Features

  • New test cases to increase code coverage.
    (Especially, each Argument class is now tested standalone.)
  • Added VSCode settings file.
  • Added example to documentation landing page.
  • Added new documentation content and diagrams.
  • Added doc-strings to almost every module, class or method.
  • Cross referenced doc-strings and normal documentation pages.
    Added see also sections.
  • Added todo boxes for undocumented sections with item lists.
  • Added consumer section to documentation landing page.
  • Started to document Program and Executable in standalone chapters.
  • Added key-value-pair flags (-gDebug=True).

Changes

  • Tested many variants on how a Program is instantiated.
  • Reworked diagrams.
  • Extracted some information from diagrams into tables for better visualization/comparison.
  • Added checks for MacOS.
  • Exchanged Jinja template for autoapi.
  • Modified options for autodoc to include inherited, private and special members.
  • Massive renaming and class name cleanups to simplify usage of Argument and Flag classes.
    • Split classes of similar style into new Python modules.
  • Updated README.
  • Updated News section in documentation landing page.

Bug Fixes

  • Test case fixed on MinGW64 by installing msys/git.
  • Fixed wrong package name in .gitignore.

v0.3.0

28 Dec 11:11
8918b07
Compare
Choose a tag to compare

Release created on: 28.12.2021 - 11:11:08

New Features

  • Derived class Executable from Program to add process launching and interfacing capabilities.
    • Launch and terminate a process.
    • Send interactive input to STDIN.
    • Read line-by-line from STDOUT.
  • Preserve order of CLI options.
  • Added unit tests for Executable.

Changes

  • Removed Executable option from Program so it doesn't conflict with Docker usecase where 2 executables are needed in a multiple inheritance usage.
  • Refactored abstracted CLI for Git into an Examples module.

Bug Fixes

None

v0.2.1

27 Dec 22:40
1ee5a5c
Compare
Choose a tag to compare

Release created on: 27.12.2021 - 22:40:50

New Features

None

Changes

  • Bumped dependencies.
  • Reworked behavior of __repr__ and __str__.
  • Reworked and tested dry-run mode.

Bug Fixes

  • Fixed URLs to Codacy.
  • Fixed issues reported by Codacy. Mainly doc-strings.
  • Added missing call to parent class initializer.

v0.2.0

26 Dec 02:17
7704659
Compare
Choose a tag to compare

Release created on: 26.12.2021 - 02:17:09

New Features

  • Transform parameters to AsArgument(...) to a string or list of strings.
  • Added test cases for class Program based on Git.

Changes

  • Bumped dependencies.
  • Filter classes for an pyAttribute based on scope.
  • Handle executable paths with absolute path, binary directory or just from PATH.
  • Merged .coveragerc and pytest.ini into pyproject-toml
  • Extracted a common helper method into a mixin class.

Bug Fixes

None

v0.1.1

24 Dec 08:15
0e1a0da
Compare
Choose a tag to compare

Release created on: 24.12.2021 - 08:15:29

New Features

  • Updated documentation and added a diagram to demonstrate relations between Argument classes.
  • Implemented an AsArgument(...) method on every Argument class.

Changes

  • Changed inheritance for TupleArgument from NameValuedCommandLineArgument to NamedCommandLineArgument.

Bug Fixes

  • Fixed inheritance of subclass parameters (e.g. pattern).
  • CLI parameter assembly as:
    • list of strings (ToArgumentList(...))
    • string (__str__(...))

v0.1.0

23 Dec 19:19
Compare
Choose a tag to compare

Automated Release created on: 23.12.2021 - 19:19:15

New Features

  • tbd

Changes

  • tbd

Bug Fixes

  • tbd