Writing argparse-based command line applications can become tedious, repetitive, and difficult to do right. Relax and let this library free you from that burden.
BSD-3-CLAUSE License
Bot releases are hidden (Show)
Published by RobertBlackhart 4 months ago
Full Changelog: https://github.com/NetApp/recline/compare/v2023.5...v2024.6
Published by RobertBlackhart over 1 year ago
This release updates the library's dependencies including updating requests to the lastest version to address CVE-2023-32681
Published by RobertBlackhart over 1 year ago
This release updates the library's dependencies including updating certifi to the lastest version to address CVE-2022-23491
Published by RobertBlackhart over 2 years ago
This release adds a new command attribute, background
, which is False
by default but can be set to True
if the command should be run in the background automatically. This can be useful when combined with the atstart
attribute to allow for the application to run some long running async method in the background and the interactive repl in the foreground. For instance, perhaps the application is some game server for which you want to implement a set of admin or diagnostic commands. The main loops controlling connections and game flow can happen in a function like this:
@recline.command(atstart=True, background=True)
async def main_loop():
...
and then the rest of the REPL can still be dedicated to running commands in the foreground.
Published by RobertBlackhart over 2 years ago
This release updates the package dependency versions including updates to urllib3 to address recent CVEs. The minimum version of Python has also been increased to 3.6+ and f-strings are now used in the source code.
Published by RobertBlackhart over 3 years ago
Thanks to the issue request, #4, Windows compatibility is here. The only caveat found so far is that once an async command is started, it cannot be backgrounded when running on Windows. This is due to the platform not implementing the SIGTSTP signal (or a good alternative). You can still run commands in the background, but you must launch them with -background
in the first place.
Published by RobertBlackhart over 4 years ago
This is the inaugural release of the recline Python library. See the README.md file for more details about what it is and how it works.
We welcome your feedback. You can file bug reports or feature requests via GitHub issues. And you can discuss the project over on our gitter channel.