You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
3
3
4
4
*NOTE:* Version 0.X.X might have breaking changes in bumps of the minor version number. This is because the project is still in early development and the API is not yet stable. It will still be marked clearly in the release notes.
5
5
6
+
## [0.4.0] - 14-09-2025
7
+
- Add ability to customize configurations in a toolit.ini or pyproject.toml file in the project root. Makes the devtools folder configurable, and allows plugins to add their own configurations.
8
+
6
9
## [0.3.0] - 09-09-2025
7
10
- Added toolit `create-vscode-tasks-json` CLI command to create the `.vscode/tasks.json` file from the command line.
8
11
- Improved error handling and user feedback when the `devtools` folder does not exist.
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,14 @@ toolit --help # To see available commands
36
36
toolit my-command --to_print "Hello, Toolit!"# To run your command
37
37
```
38
38
39
+
### Customizing the DevTools Folder
40
+
By default, Toolit looks for a folder named `devtools` in the project root. You can customize this by creating a `toolit.ini` or use your `pyproject.toml` file in your project root with the following content:
41
+
42
+
```toml
43
+
[toolit]
44
+
tools_folder = "tools"
45
+
```
46
+
39
47
## Create the VS code tasks.json file
40
48
You can automatically create a `tasks.json` file for Visual Studio Code to run your ToolIt commands directly from the editor. This is useful for integrating your development tools into your workflow.
41
49
@@ -76,10 +84,13 @@ Toolit supports a plugin system that allows you to create and share your own too
76
84
77
85
To create a plugin, follow these steps:
78
86
1. Create a new Python package for your plugin. You can use tools like `setuptools`, `poetry` or `uv` to set up your package structure.
79
-
2. In your package, create a module where you define your tools using the `@tool` decorator.
80
-
3. Make sure to include `toolit` as a dependency in your package's `setup.py` or `pyproject.toml`.
81
-
4. Register your plugin with Toolit by adding an entry point in your `setup.py` or `pyproject.toml`, so Toolit can discover your tools when the package is installed. The entry point is called `toolit_plugins`.
82
-
5. Publish your package to PyPI or install it from a git repository where you need it.
87
+
2. In your package, create one or several modules where you define your tools using the `@tool` decorator.
88
+
3. You can include your own user-configurations, and load them using the `get_config_value` function from the `toolit.config` module.
89
+
4. Make sure to include `toolit` as a dependency in your package's `setup.py` or `pyproject.toml`.
90
+
5. Register your plugin with Toolit by adding an entry point in your `setup.py` or `pyproject.toml`, so Toolit can discover your tools when the package is installed. The entry point is called `toolit_plugins`.
91
+
6. Publish your package to PyPI or install it from a git repository where you need it.
92
+
93
+
See an example plugin here: [toolit-azure-devops-trunk-based-branching](https://github.com/martinmoldrup/toolit-azure-devops-trunk-based-branching)
83
94
84
95
## Contributing
85
96
We welcome contributions to Toolit! If you have ideas for new features, improvements, or bug fixes, please open an issue or submit a pull request on our GitHub repository. We appreciate your feedback and support in making Toolit even better for the community.
0 commit comments