16 lines
444 B
Markdown
16 lines
444 B
Markdown
# Extending cutekit
|
|
|
|
By writing custom Python plugins, you can extend Cutekit to do whatever you want.
|
|
|
|
First the file need to be located in `meta/plugins` and have the `.py` extension.
|
|
Then you can import cutekit and change/add whatever you want.
|
|
|
|
For example you can add a new command to the CLI:
|
|
|
|
```python
|
|
from cutekit import cli
|
|
|
|
@cli.command("h", "hello", "Print hello world")
|
|
def _(args: cli.Args) -> None:
|
|
print("Hello world!")
|
|
```
|