We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add JSON output to g.mapset.
The addition should include outputs for the following commands.
g.mapset -p format=json
{ "project": "nc_spm_08_grass7", "mapset": "user1" }
g.mapset -l format=json
{ "project": "nc_spm_08_grass7", "mapsets": ["landsat" ,"new" ,"PERMANENT", "user1"] }
g.mapset -c mapset=user2 project=nc_spm_08_grass7 format=json
Output the new mapset.
{ "project": "nc_spm_08_grass7", "mapset": "user2" }
g.mapset mapset=user2 project=nc_spm_08_grass7
Output the current mapset.
The text was updated successfully, but these errors were encountered:
This is a template for future JSON related issues.
Sorry, something went wrong.
Not sure about points 3 and 4, I would say no output needed.
The classic Unix tool approach to say nothing if the request operation was done.
I was thinking about it more like a REST API.
Do you have an example? For unix tools, there is plenty, rm is one, but interestingly Git is a counter example.
Ultimately, we want the tools to be useful, convenient, and predictable.
No branches or pull requests
Add JSON output to g.mapset.
The addition should include outputs for the following commands.
Output the new mapset.
Output the current mapset.
The text was updated successfully, but these errors were encountered: