From 20bacc444e0415f1a3b7aa37c2d8e911a07250a6 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Fri, 10 Sep 2021 18:44:28 +0200 Subject: [PATCH] add start of commands cheatsheet --- docs/manual/development/handycommands.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/manual/development/handycommands.md diff --git a/docs/manual/development/handycommands.md b/docs/manual/development/handycommands.md new file mode 100644 index 00000000000..6744bf7e893 --- /dev/null +++ b/docs/manual/development/handycommands.md @@ -0,0 +1,10 @@ +# Command Cheatsheet + +These are some commands that are nice to keep track of: + +**give execute permissions to all sh files:** +`find . -name '*.sh' | xargs git update-index --chmod=+x` + + +**list all used repositories in the catalog:** +`find . -name 'values.yaml' | xargs cat | grep "repository" | grep -v "{" | awk -F":" '{ print $2 }' | grep -v '^$' | sort --unique`