Releases: pyTooling/pyTooling.CLIAbstraction
Releases · pyTooling/pyTooling.CLIAbstraction
v0.4.1
v0.4.0
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.
Addedsee also
sections. - Added
todo
boxes for undocumented sections with item lists. - Added consumer section to documentation landing page.
- Started to document
Program
andExecutable
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
Release created on: 28.12.2021 - 11:11:08
New Features
- Derived class
Executable
fromProgram
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 fromProgram
so it doesn't conflict with Docker usecase where 2 executables are needed in a multiple inheritance usage. - Refactored abstracted CLI for
Git
into anExamples
module.
Bug Fixes
None
v0.2.1
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
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 onGit
.
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
andpytest.ini
intopyproject-toml
- Extracted a common helper method into a mixin class.
Bug Fixes
None
v0.1.1
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
fromNameValuedCommandLineArgument
toNamedCommandLineArgument
.
Bug Fixes
- Fixed inheritance of subclass parameters (e.g.
pattern
). - CLI parameter assembly as:
- list of strings (
ToArgumentList(...)
) - string (
__str__(...)
)
- list of strings (
v0.1.0
Automated Release created on: 23.12.2021 - 19:19:15
New Features
- tbd
Changes
- tbd
Bug Fixes
- tbd