Alfred is an extensible automation tool designed to streamline repository operations. It allows you various commands as continuous integration, runner, build commands ...
You'll craft advanced commands harnessing the strengths of both worlds: shell and Python.
You will generate commands to launch of the linter and unit tests process.
$ alfred --new pylint src/myapp
$ alfred --new pytest tests/unit
alfred
Usage: alfred [OPTIONS] COMMAND [ARGS]...
alfred is an extensible automation tool designed to streamline repository
operations.
Options:
-d, --debug display debug information like command runned and working
directory
-v, --version display the version of alfred
--new open a wizard to generate a new command
-c, --check check the command integrity
--completion display instructions to enable completion for your shell
--help Show this message and exit.
Commands:
lint run linter on codebase
tests run unit tests on codebase
- Documentation : https://alfred-cli.readthedocs.io/en/latest
- PyPI Release : https://pypi.org/project/alfred-cli
- Source code: https://github.com/FabienArcellier/alfred-cli
- Chat: https://discord.gg/nMn9YPRGSY
alfred
exists thanks to this 2 amazing open source projects.
MIT License
Copyright (c) 2021-2023 Fabien Arcellier
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.