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

add a --format json option to gally run #78

Open
gregoryguillou opened this issue May 17, 2022 · 0 comments
Open

add a --format json option to gally run #78

gregoryguillou opened this issue May 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@gregoryguillou
Copy link
Collaborator

gregoryguillou commented May 17, 2022

For now when you execute gally run, it displays the output as the underlying commands do. We would like to add a --format json so that instead of that default behavior, that could be named --format text it would create a json file like:

{ "runs":
   {
      "project1": {
         "command": "build",
         "output": [
            "1st line output",
            "2nd line output",
            "...",
            "last line output"
         ]
      },
      "project2": {
      ...
   }
}

The reason for this request is so that we can create a version_production command that would simply return the version that is currently running on production and would return the version. This would enable to easily list all the running version for one environment from gally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant