Skip to content

Instantly share code, notes, and snippets.

@nehrman
Created May 20, 2019 09:35
Show Gist options
  • Save nehrman/57bd8a5cbff84c31d7495c59f1faa9d6 to your computer and use it in GitHub Desktop.
Save nehrman/57bd8a5cbff84c31d7495c59f1faa9d6 to your computer and use it in GitHub Desktop.
description
[[snippets]]
description = "List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment