From 6a2d6bb8c04fbfd0ccf6cb3f333ffe999f49c83a Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 1 Feb 2025 00:18:33 +0000 Subject: [PATCH] Update cheatsheets --- tldr/git-cliff | 29 +++++++++++++++++++++++++++++ tldr/linux/gtk-launch | 13 +++++++++++++ tldr/local | 3 ++- tldr/pulumi-config | 4 ++++ tldr/read | 2 +- tldr/{ | 2 +- 6 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 tldr/git-cliff create mode 100644 tldr/linux/gtk-launch diff --git a/tldr/git-cliff b/tldr/git-cliff new file mode 100644 index 00000000..7338fa7c --- /dev/null +++ b/tldr/git-cliff @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# git cliff + +> A highly customizable changelog generator. +> More information: . + +- Generate a changelog from all commits in a Git repository and save it to `CHANGELOG.md`: + +`git cliff > {{CHANGELOG.md}}` + +- Generate a changelog from commits starting from the latest tag and print it to `stdout`: + +`git cliff {{-l|--latest}}` + +- Generate a changelog from commits that belong to the current tag (use `git checkout` on a tag before this): + +`git cliff --current` + +- Generate a changelog from commits that do not belong to a tag: + +`git cliff {{-u|--unreleased}}` + +- Write the default config file to `cliff.toml` in the current directory: + +`git cliff {{-i|--init}}` diff --git a/tldr/linux/gtk-launch b/tldr/linux/gtk-launch new file mode 100644 index 00000000..9ae3f013 --- /dev/null +++ b/tldr/linux/gtk-launch @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# gtk-launch + +> Launch applications from `.desktop` files that reside in standard locations. +> More information: . + +- Launch an application: + +`gtk-launch {{Application_name}}` diff --git a/tldr/local b/tldr/local index 2a329991..b8af091a 100644 --- a/tldr/local +++ b/tldr/local @@ -6,7 +6,8 @@ source: https://github.com/tldr-pages/tldr.git # local > Declare local variables and give them attributes. -> More information: . +> See also: `declare`. +> More information: . - Declare a string variable with the specified value: diff --git a/tldr/pulumi-config b/tldr/pulumi-config index 2d926229..8479cb3b 100644 --- a/tldr/pulumi-config +++ b/tldr/pulumi-config @@ -12,6 +12,10 @@ source: https://github.com/tldr-pages/tldr.git `pulumi config --json` +- View configuration for a specified stack: + +`pulumi config --stack {{stack_name}}` + - Get the value of a configuration key: `pulumi config get {{key}}` diff --git a/tldr/read b/tldr/read index dcfb9dc8..f126e746 100644 --- a/tldr/read +++ b/tldr/read @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # read > Shell builtin for retrieving data from `stdin`. -> More information: . +> More information: . - Store data that you type from the keyboard: diff --git a/tldr/{ b/tldr/{ index 9a71fbd5..60ed4f86 100644 --- a/tldr/{ +++ b/tldr/{ @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Curly brace > Multipurpose shell syntax. -> More information: . +> More information: . - Isolate variable names: