Plugins
The CLI supports custom plugins:
# ~/.composabl/plugins/my_plugin.py
import typer
app = typer.Typer()
@app.command()
def custom_command(name: str):
"""My custom command"""
print(f"Hello, {name}!")
# Register in ~/.composabl/plugins.yaml
plugins:
- name: my_plugin
module: my_plugin
command: custom
Use custom commands:
composabl custom custom-command World
# Output: Hello, World!
Last updated