Changelog
Latest Changes
Fix tests batcomputer. PR #86 by @vandaimer.
feat: Add support to Python 3.11. PR #83 by @mateusoliveira43.
fix: safety security vulnerability scan. PR #82 by @mateusoliveira43.
1.1.3
Features
feat: improve README documentation. PR #79 by @mateusoliveira43.
Fixes
fix: Trigger CI/CD only once after a PR closes. PR #80 by @mateusoliveira43.
fix: jinja template line break. PRs #75 and #74 by @mateusoliveira43.
fix: Remove type ignore comments from code. PR #73 by @mateusoliveira43.
fix: CD versioning pipeline permission. PR #72 by @mateusoliveira43.
1.1.2
In this version:
Fix shell functions that print output in run time by using subprocess.run again.
1.1.1
In this version:
installation script for CLY?!.
Shell functions now accept a directory argument, to run commands in the directory the user wants.
cly.utils.run_multiple_commands()
: function to run multiple shell commands at once.Long help messages are broken in the CLI’s help and only completely appear in the commands help.
cly.testing.run_cli()
: CLY?! now provides a test environment for the users.
1.0.1
In this version:
Fixing imports in cli package: using relative imports both for performance and for not breaking package use.
Change cli package name to cly (this should be a major change, but since this is not a Python package that you will download, just copy, I am considering it a patch change).
Change repository name to cly.
Add name explanation to documentation.
1.0.0
First version of the template!
In this version:
Shell output formatting functions like coloring and underling.
Docstring automation for commands help and it’s options.
Shell manipulation functions.
Custom help formatter for argparse.
Automated argparse wrapper.
For next versions, I want to:
Create a testing environment, to facilitate testing CLIs built with the template.
Further automate the template, like adding options to the subparser and the parser by parsing the commands’ docstring.
If only one command is added to ConfiguredParser, do not create a subparser.