Skip to content

grass.tools: Add Tools API to generated tools doc #6015

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wenzeslaus
Copy link
Member

Concept of how this could look like. The formatting needs more work. The parameters are the same as grass.script except io.StringIO which will be difficult to generate with the current metadata because the parser does not know about stdin in this sense (the validity is resolved while opening the file by a library function call at tool-level, but during command line parsing, the parser merely allows for dash being provided instead of a filename).

Before After
image image

Concept of how this could look like. The formatting needs more work. The parameters are the same as grass.script except io.StringIO which will be difficult to generate with the current metadata because the parser does not know about stdin in this sense (the validity is resolved while opening the file by a library function call at tool-level, but during command line parsing, the parser merely allows for dash being provided instead of a filename).
@wenzeslaus wenzeslaus added this to the 8.5.0 milestone Jul 2, 2025
@wenzeslaus wenzeslaus self-assigned this Jul 2, 2025
@wenzeslaus wenzeslaus added manual Documentation related issues docs labels Jul 2, 2025
@github-actions github-actions bot added C Related code is in C libraries labels Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Related code is in C docs libraries manual Documentation related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant