Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tool command #5

Merged
merged 2 commits into from
Aug 19, 2024
Merged

feat: add tool command #5

merged 2 commits into from
Aug 19, 2024

Conversation

b4nst
Copy link
Owner

@b4nst b4nst commented Aug 19, 2024

This PR adds the ayo tool command, to help troubleshooting tools.

Usage: ayo tool [<tools> ...] [flags]

Get information about a tool

Arguments:
  [<tools> ...]    Filename of the tool to get information about. If empty, all tools from the toolbox are listed.

Flags:
  -h, --help                               Show context-sensitive help.
  -v, --verbose                            Enable verbose mode.
      --log-format="pretty"                Log format to use.
      --toolbox="~/.config/ayo/toolbox"    The directory to load tools from ($AYO_TOOLBOX)

Copy link
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/b4nst/ayo/cmd/ayo 0.00% (ø)
github.com/b4nst/ayo/pkg/tool 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/b4nst/ayo/cmd/ayo/chat.go 0.00% (ø) 0 0 0
github.com/b4nst/ayo/cmd/ayo/main.go 0.00% (ø) 0 0 0
github.com/b4nst/ayo/cmd/ayo/tool.go 0.00% (ø) 0 0 0
github.com/b4nst/ayo/pkg/tool/tool.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/b4nst/ayo/pkg/tool/tool_test.go

@b4nst b4nst merged commit fc52b11 into main Aug 19, 2024
3 checks passed
@b4nst b4nst deleted the feat/add-tool-command branch August 19, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant