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

spectest index command standard outputs the index markdown file path after generated it. #168

Closed
Tracked by #142
nao1215 opened this issue Nov 6, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@nao1215
Copy link
Owner

nao1215 commented Nov 6, 2023

Is your feature request related to a problem? Please describe.

After generating the index markdown, spectest index does not output anything. I think it is difficult for the user to understand what happened with this specification. Therefore, the generated index file path will be outputted to the standard output.

Describe the solution you'd like

If markdown.GenerateIndex() completes successfully, it will output the index file path to the standard output. If an error occurs, it will directly return the error to the higher-level function.
https://github.com/go-spectest/spectest/blob/26de85c47a740f596035376cf4b84e09ac9c7fc2/cmd/spectest/sub/index.go#L59-L62

@nao1215 nao1215 added the good first issue Good for newcomers label Nov 6, 2023
@nao1215 nao1215 mentioned this issue Nov 6, 2023
19 tasks
@nao1215
Copy link
Owner Author

nao1215 commented Nov 17, 2023

Done #210

@nao1215 nao1215 closed this as completed Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant