superfaceai / cli

Let AI connect the APIs for you
https://superface.ai
MIT License
23 stars 4 forks source link

feat: verbose flag #369

Closed Jakub-Vacek closed 1 year ago

Jakub-Vacek commented 1 year ago

Description

This PR adds optional printDocs flag that prints overview of indexed documentation chunks. This can be useful for debugging.

Output looks like this:

Snímek obrazovky 2023-09-21 v 12 14 43

Motivation and Context

Types of changes

Checklist:

Jakub-Vacek commented 1 year ago

I feel like this flag is too command-specific, yet doesn't feel like its feature. Perhaps some more generic flag that'd also work for other commands eventually would be a better fit? I'm thinking --verbose --debug etc

Good point, renamed to verbose

Jakub-Vacek commented 1 year ago

Fixed formatting: Snímek obrazovky 2023-10-03 v 12 24 23

kysely commented 1 year ago

Fixed formatting: Snímek obrazovky 2023-10-03 v 12 24 23

In the picture, was the command called with --verbose?

Jakub-Vacek commented 1 year ago

Oh, yes. It was called with -v