chaoss / chaoss/disclosure

Add flag to text command to allow passing custom list of tools

Open
#58 0 comments 0 reactions 1 assignee Claimed by @omkar-foss View on GitHub
enhancement
Dominant language
Go
Stars
26
Forks
13
Avg merge
6d 18h
Merged PRs (30d)
3

Description

User should be able to pass a custom list of tools via cli command. This list can get appended to the existing list of supported tools [here](https://github.com/chaoss/disclosure/blob/main/detection/constants.go#L29-L52) and be used with toolmentions. So any list (huggingface, openrouter, etc. or both combined) can be used.

The command would be something like:
```sh
disclosure text --custom-tools=tools_list.json --input=textfile.txt
```

And tools_list.json structure can be:
```json
{
"custom_tools": ["tool1", "tool2", ...]
}
```

Related: #42.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.