This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Get org names from previously added repos | |
__get_org_names() { | |
vela get repo --output yaml | awk '/ org:/{ print $2 }' | sort -u | |
} | |
# Get repo names from previously added repos | |
__get_repo_names() { | |
vela get repo --output yaml | awk '/ name:/{ print $2 }' | sort -u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Abstract parser type | |
abstract class Parser<T> { | |
/* Parser implementation ... | |
* | |
* A parser only has to implement the base case, ie. how to parse a single | |
* element. | |
*/ | |
abstract ParserResult<T> parse(String string) |