From 7fd7db9cd12d59f7c523dc2a1a167f7445e5b2f3 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Mon, 4 May 2026 18:38:58 +0200 Subject: Add support for the %e{key} format and add support for type checkers (ty) --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index bdd97e3..dae06b8 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,20 @@ for processes that were not spawned by that same *etoolkit* session. ## Installation -### pip (pypi) +### Arch Linux ```bash - pip install etoolkit + # fetch sgs' developer key from the keyserver and sign it + pacman-key --recv-keys A6645797661E2F473DD3FF06BCE70555C3BB08F7 + pacman-key --lsign-key A6645797661E2F473DD3FF06BCE70555C3BB08F7 + + # add sgs' repository in /etc/pacman.conf and require packages to be signed + [sgs] + Server = https://pkg.pichove.org/archlinux/$repo/os/$arch + SigLevel = PackageRequired + + # install etoolkit + pacman -S python-etoolkit ``` @@ -72,6 +82,14 @@ for processes that were not spawned by that same *etoolkit* session. emerge dev-python/etoolkit ``` + +### pip (pypi) + + ```bash + pip install etoolkit + ``` + + ## Encryption & decryption scheme The etoolkit encryption format is currently at version 2. @@ -262,6 +280,8 @@ When all values are fetched from a given instance (and its parents) and then decrypted, they are further processed by replacing macros with their corresponding values. Currently the following macros are supported: +- **%e{MYVAR}** - the current value of the env. var. *MYVAR* + - **%e** - the current value of the env. var. corresponding to the same key - **%h** - the home directory of the user running *etoolkit* (~/) -- cgit v1.3