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

feat(status): add root-level status command #301

Merged
merged 5 commits into from
Jan 28, 2021
Merged

Conversation

craicoverflow
Copy link
Contributor

@craicoverflow craicoverflow commented Jan 28, 2021

Closes #184 and #283

This PR adds a root level status command and removed the kafka status command.

View all service status information:

❯ rhoas status

  Kafka
  ------------------------------------------------------------------------------------
  ID:                     1nhKLDsfcdUbZnSQTxavtZgcTdV
  Name:                   enda-test-2
  Status:                 provisioning
  Bootstrap URL:          enda-test--nhkldsfcdubznsqtxavtzgctdv.kafka.devshift.org:443

You can also specify specific services with rhoas status kafka.

JSON and YAML output formats are also supported:

❯ rhoas status -o json
{
  "kafka": {
    "id": "1nhKLDsfcdUbZnSQTxavtZgcTdV",
    "name": "enda-test-2",
    "status": "provisioning",
    "bootstrap_server_host": "enda-test--nhkldsfcdubznsqtxavtzgctdv.kafka.devshift.org:443"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Status could be on the top level rather than managed kafka
2 participants