Skip to content

Commit

Permalink
v3.7.8
Browse files Browse the repository at this point in the history
=====================================================================

--- New Features -------------------------

- --list-envs now shows all available environments
  • Loading branch information
wrynegade committed Nov 13, 2023
1 parent 6cc10e3 commit a03885e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ __RUN() {
-e, --env <env-name> set environment; overwrites SCWRYPTS_ENV
-n, --no-log skip logging and run in quiet mode
--update update scwrypts library to latest version
--update update scwrypts library to latest version
--list-envs print out environment list and exit
-v, --version print out scwrypts version and exit
-l, --list print out command list and exit
Expand Down Expand Up @@ -78,6 +79,10 @@ __RUN() {
SCWRYPTS__GET_AVAILABLE_SCWRYPTS
return 0
;;
--list-envs )
SCWRYPTS__GET_ENV_NAMES
return 0
;;
-v | --version )
echo scwrypts $(cd "$SCWRYPTS__ROOT__scwrypts"; git describe --tags)
return 0
Expand Down
5 changes: 5 additions & 0 deletions zsh/lib/helm/template.module.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ HELM__TEMPLATE__GET() {
--colorize use 'bat' to colorize output
--raw remove scwrypts-added fluff and only output helm template details
-h, --help show this help dialogue
Smart helm-template generator which auto-detects the chart
and sample values for testing and developing helm charts.
"
Expand All @@ -35,8 +37,11 @@ HELM__TEMPLATE__GET() {
;;

--raw ) RAW=1 ;;

-h | --help ) USAGE; return 0 ;;
-- ) shift 1; break ;;


* ) HELM_ARGS+=($1) ;;
esac
shift 1
Expand Down

0 comments on commit a03885e

Please sign in to comment.