-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Caio Moritz Ronchi
committed
Dec 19, 2016
1 parent
0d7da34
commit bd88414
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
CMD_DESCRIPTION="Prints the GitHub issue Markdown template." | ||
|
||
function _itemized_plugins_name_and_version() | ||
{ | ||
for dir_name in $(ls $ATHENA_PLGS_DIR); do | ||
local version="$(cat $ATHENA_PLGS_DIR/$dir_name/version.txt)" | ||
echo "${dir_name},${version}" | ||
done | ||
} | ||
|
||
# check that docker is up or exit with a message | ||
athena.docker >/dev/null | ||
|
||
echo "**Athena Environment**" | ||
echo "\`\`\`" | ||
echo "OS: $(uname -a)" | ||
echo "Athena version: $ATHENA_PLG_IMAGE_VERSION" | ||
echo "Plugins: " ; _itemized_plugins_name_and_version | awk -F, '{ print " - " $1 " [" $2 "]" }' | ||
echo "Images: " ; athena.docker images | grep "$ATHENA_PLG_IMAGE_NAME" | awk -F" " '{ print " - " $1 " ["$2"] " $3 }' | ||
echo "Running containers: " ; athena.docker.list_athena_containers | awk -F "->" '{ print " - " $1 }' | ||
echo "\`\`\`" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
if [ "${args[@]}" == "new-issue" ]; then | ||
athena.os._set_no_logo 1 | ||
fi |