jarbas-tasks 0.1.0

Creator: bradpython12

Last updated:

Add to Cart

Description:

jarbastasks 0.1.0

============Jarbas tasks============This is a very small module defines a mechanism to inject invoke tasks toJarbas enabled projects. The jarbas-tasks cli is designed to be used as anentry point of a docker container and is used as such in most Jarbas basedimages. By default, it accepts the following sub-commands:Start a bash shell: You can't use 'macro parameter character #' in math modeYou can't use 'macro parameter character #' in math mode jarbas-tasks run # run the default "run" task (a bash shell, by default) You can't use 'macro parameter character #' in math modeYou can't use 'macro parameter character #' in math mode jarbas-tasks some-taskCreating a task package=======================By default, jarbas-tasks inject only the "run" and "bash" tasks to the list ofavailable tasks. Users can create *task packages* that can inject arbitrarydefault tasks to the jarbas-tasks command.In order to do so, create a Python package that expose the following entrypoint: setup( ..., entry_points={ 'jarbas-tasks': [ 'mytask1 = mytask:task1', # Maps command name to task object 'mytask2 = mytask:task2', ] }, }The handler should be a regular invoke task declared anywhere in the module.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.