Simplified invokation of typer apps from any directory.
Project description
typer-invoke
Simplified invocation of typer apps from any directory.
The idea is that you place typer apps in a directory in your project and then you can invoke them from any directory.
Why?
The main use case is for project management that require custom scripts for various tasks. Wrapping those scripts as typer apps makes them easier to use. Making typer easier to use makes those scripts even easier to use.
An alternative to:
VS Invoke
The main driver for this project is as a replacement for Invoke, which I've been using for a while and found the following limitations:
--helpand--listoptions are clunky, in that they need to be placed right after theinvcommand, ex:
Here a more common pattern is used andinv --help some.task--helpacts as both help and list:inv some task --help- Lack of support.
Some issues and features have been piling up for a while, and I'm not sure if they will ever
be addressed. Seems like the project has had new development
recently, though.
Typer is widely used and has a lot of support.
Other advantages (in my opinion):
- Prettier Developer experience counts. Other than more common usage patterns, Typer supports rich and Markdown formatting.
- No dot
.namespace Invoke uses a dot.namespace for tasks, which is not very common when running scripts.
Typer follows a normal CLI pattern. Namespaces are Typer apps and are separated by a space.
Invoke is the inspiration for this project, hence the name typer-invoke and keeping the inv
command name.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typer_invoke-0.1.0.tar.gz.
File metadata
- Download URL: typer_invoke-0.1.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4d191c422b071faf1d3c9c5785f7ddb6e37f6128cd655e621664695c68f61ff
|
|
| MD5 |
dd5a2ad02cbe12ee6994aff2cc9c5756
|
|
| BLAKE2b-256 |
7ac5f1087fc82a2c47ee134d56292c2fb1a3dfa89bb580f1670a29f3c75e0537
|
File details
Details for the file typer_invoke-0.1.0-py3-none-any.whl.
File metadata
- Download URL: typer_invoke-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2354b845c3f8319e8b71282c255d07b48ef580746d5ee13a8893fea4753c03e5
|
|
| MD5 |
2a958b85e03686b2d0272d92347636cd
|
|
| BLAKE2b-256 |
f1517e21d51d2fdfaa35e9e0bea5f07806f7b9f4a40e109cf88537790742fcf0
|