-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adds support for info commands #2
Conversation
Thanks for taking the time to contribute @jthacker! Our team will review this PR and provide feedback when we're able to get to it. |
* Adds build id display to build command * Adds info group to cli * Adds build command to info group. This command lists the status of the current builds * Adds --output option to info group for selecting output format * Adds artifact command to info group. Shows versions and upload times Examples: > mason info --output=json build [{"id": "<id>", "project": "<project>", "version": "<version>" ...] > mason info build Build MasonAmerica#1 Id: <id> Project: <project> Version: <version> Status: COMPLETED Result: SUCCESS Submitted: 2018-01-01 12:00:00 Updated: 2018-02-01 12:00:00 > mason info --output=json artifact --type=apk [{"name": "com.myapp", "type": "apk", "version": "1", ...] > mason info artifact Artifact MasonAmerica#1 Name: my-app Type: os Version: 4 Created: 2018-01-01 12:00:00 Artifact MasonAmerica#2 Name: com.myapp Type: apk Version: 1 Created: 2018-01-01 12:00:01
Revised this to use "info" instead of "status" for the sub-command group. Now includes info for artifacts as well. |
* Adds build id display to build command * Adds info group to cli * Adds build command to info group. This command lists the status of the current builds * Adds --output option to info group for selecting output format * Adds artifact command to info group. Shows versions and upload times Examples: > mason info --output=json build [{"id": "<id>", "project": "<project>", "version": "<version>" ...] > mason info build Build MasonAmerica#1 Id: <id> Project: <project> Version: <version> Status: COMPLETED Result: SUCCESS Submitted: 2018-01-01 12:00:00 Updated: 2018-02-01 12:00:00 > mason info --output=json artifact --type=apk [{"name": "com.myapp", "type": "apk", "version": "1", ...] > mason info artifact Artifact MasonAmerica#1 Name: my-app Type: os Version: 4 Created: 2018-01-01 12:00:00 Artifact MasonAmerica#2 Name: com.myapp Type: apk Version: 1 Created: 2018-01-01 12:00:01
* Adds build id display to build command * Adds info group to cli * Adds build command to info group. This command lists the status of the current builds * Adds --output option to info group for selecting output format * Adds artifact command to info group. Shows versions and upload times Examples: > mason info --output=json build [{"id": "<id>", "project": "<project>", "version": "<version>" ...] > mason info build Build MasonAmerica#1 Id: <id> Project: <project> Version: <version> Status: COMPLETED Result: SUCCESS Submitted: 2018-01-01 12:00:00 Updated: 2018-02-01 12:00:00 > mason info --output=json artifact --type=apk [{"name": "com.myapp", "type": "apk", "version": "1", ...] > mason info artifact Artifact MasonAmerica#1 Name: my-app Type: os Version: 4 Created: 2018-01-01 12:00:00 Artifact MasonAmerica#2 Name: com.myapp Type: apk Version: 1 Created: 2018-01-01 12:00:01
* Adds build id display to build command * Adds info group to cli * Adds build command to info group. This command lists the status of the current builds * Adds --output option to info group for selecting output format * Adds artifact command to info group. Shows versions and upload times Examples: > mason info --output=json build [{"id": "<id>", "project": "<project>", "version": "<version>" ...] > mason info build Build MasonAmerica#1 Id: <id> Project: <project> Version: <version> Status: COMPLETED Result: SUCCESS Submitted: 2018-01-01 12:00:00 Updated: 2018-02-01 12:00:00 > mason info --output=json artifact --type=apk [{"name": "com.myapp", "type": "apk", "version": "1", ...] > mason info artifact Artifact MasonAmerica#1 Name: my-app Type: os Version: 4 Created: 2018-01-01 12:00:00 Artifact MasonAmerica#2 Name: com.myapp Type: apk Version: 1 Created: 2018-01-01 12:00:01
* Adds build id display to build command * Adds info group to cli * Adds build command to info group. This command lists the status of the current builds * Adds --output option to info group for selecting output format * Adds artifact command to info group. Shows versions and upload times Examples: > mason info --output=json build [{"id": "<id>", "project": "<project>", "version": "<version>" ...] > mason info build Build MasonAmerica#1 Id: <id> Project: <project> Version: <version> Status: COMPLETED Result: SUCCESS Submitted: 2018-01-01 12:00:00 Updated: 2018-02-01 12:00:00 > mason info --output=json artifact --type=apk [{"name": "com.myapp", "type": "apk", "version": "1", ...] > mason info artifact Artifact MasonAmerica#1 Name: my-app Type: os Version: 4 Created: 2018-01-01 12:00:00 Artifact MasonAmerica#2 Name: com.myapp Type: apk Version: 1 Created: 2018-01-01 12:00:01
@SUPERCILEX Curious why this was closed? Have you decided to go another direction? Are the commands out of scope? |
Whoops, no this wasn't intentional. I killed the development branch since we weren't using it and I guess that closed your PR. Feel free to reopen against master. 👍 I also just noticed how long this PR has been neglected (sorry!), so I'm going to reopen discussion about it internally. |
@jthacker We just released a new version of the CLI with tons of changes. If your use cases still aren't met, please file some bugs. |
of the current builds
Examples: