Alfred-cli

Latest version: v2.2.7

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.2.7

What's Changed

* unicode character on terminal can be not interpreted and broke the execution on windows by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/83


**Full Changelog**: https://github.com/FabienArcellier/alfred-cli/compare/2.2.6...2.2.7

2.2.4

This minor version provides better comfort in the use of Alfred. It allows you not to stream a command launched by ``alfred.run`` using the `stream_stdout` flag.

Happy new year and Happy automation !!!!

What's Changed

* an instruction in alfred.run can be run without streaming its standard output on terminal by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/76
* improve documentation about alfred by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/69
* autocompletion is working with multiple `:` use as command separator on bash by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/75
* running any alfred command on directory that are not initialized should show simple error message by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/77

**Full Changelog**: https://github.com/FabienArcellier/alfred-cli/compare/2.2.3...2.2.4

2.2.3

alfred 2.2.3`` make easier to create alfred command without writing code.

For example, for django you can create a command as

python
alfred --new python manage.py makemigrations


[![asciicast](https://asciinema.org/a/L1fDS7KgbAXTvPL4Z7RjZmNcI.svg)

What's Changed

* alfred --new assists the developer to create a new command by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/66
* alfred's autocompletion should work with colon as command separator by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/67
* configure PYTHONUNBUFFERED on startup by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/65


**Full Changelog**: https://github.com/FabienArcellier/alfred-cli/compare/2.2.2...2.2.3

2.2.2

This release improves the developer experience. If Alfred needs to change virtual environments, the interactive mode is preserved. This version adds automatic detection of the poetry environment whether it is installed in the repo or outside the repo.

What's Changed

* stream command on windows even when they are run in subprocess by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/56
* detect automatically virtual environment from poetry by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/60
* run virtual environment in pseudo terminal instead of subprocess on command invocation by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/61


**Full Changelog**: https://github.com/FabienArcellier/alfred-cli/compare/2.2.1...2.2.2

2.2.1

Version 2.2.1 gives the ability to invoke a fulltext command instead of composing it.

python
alfred.command('lint', help="validate the source code using mypy")
def lint():
alfred.run("mypy src/*") use full text command


What's Changed

* alfred.run execute a text command directly by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/49
* `path` property in alfred manifest simplify using utilities as jest install from node modules in command by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/55

Bug fix

* forward the --debug flag when a subcommand is invoked in another virtual environment by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/47
* show error output when execution of a command by another executor ends badly by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/51
* working directory is always the project directory of the command by FabienArcellier in https://github.com/FabienArcellier/alfred-cli/pull/53


**Full Changelog**: https://github.com/FabienArcellier/alfred-cli/compare/2.2.0...2.2.1

2.2.0

* show instruction to configure shell completion with ``alfred --completion`` in https://github.com/FabienArcellier/alfred-cli/pull/39 (by FabienArcellier)
* accelerate command discovery by using ``alfred.CMD_RUNNING`` to load huge dependency on command running only in https://github.com/FabienArcellier/alfred-cli/pull/43 (by FabienArcellier)
* verifies commands integrity in continuous integration with ``alfred --check`` in https://github.com/FabienArcellier/alfred-cli/pull/31(by FabienArcellier)
* detect automatically virtual environment in ``.venv`` directory in https://github.com/FabienArcellier/alfred-cli/pull/41 (by FabienArcellier)
* load compiled library as sqlite3 in https://github.com/FabienArcellier/alfred-cli/pull/30 (by FabienArcellier)

What's changed in repository & documentation

* summarize the state of the project with badges in https://github.com/FabienArcellier/alfred-cli/pull/38 (by hassan12ammar)

New Contributors
* hassan12ammar made their first contribution in https://github.com/FabienArcellier/alfred-cli/pull/38

**Full Changelog**: https://github.com/FabienArcellier/alfred-cli/compare/2.1.1...2.2.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.