This file contains hidden or 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
format = """ | |
[░▒▓](#00FF00)\ | |
$username\ | |
[@](bg:#0F0F0F fg:#00FF00)\ | |
$hostname\ | |
$directory\ | |
[\ueb2c](fg:#0F0F0F bg:#003300)\ | |
$git_branch\ | |
$git_status\ | |
[\ueb2c](fg:#0F0F0F bg:#003300)\ |
This file contains hidden or 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
#!/bin/bash | |
function display_help() { | |
echo "Usage: $0 [POD_NAME] [-c CONTAINER] [-n NAMESPACE] " | |
echo | |
echo "Fetch logs for a Kubernetes pod or a specific container within a pod." | |
echo | |
echo "POD_NAME is the name of the pod to fetch logs for. This argument is required." | |
echo | |
echo "Options:" |
OlderNewer