fix(task): standardize quote usage in help table and documentation

- Replace double quotes with single quotes for consistency in `task` script
- Align documentation examples in `library.md` to use single quotes
- Improve readability and maintain consistent style across codebase
This commit is contained in:
Janik von Rotz committed 2025-11-19 10:51:02 +01:00
1 parent 9a82b4efd2
commit c24e69dcb9
2 files changed
+40 -40

No files matched your search

+27 -27
View File
@@ -43,13 +43,13 @@ OPEN_BROWSER=False
### init-config-dir
```bash
printf "$column" "init-config-dir" "" "Setup task file config dir."
printf "$column" 'init-config-dir' '' 'Setup task file config dir.'
```
### template-dotenv
```bash
printf "$column" "template-dotenv" "" "Generate .env from .env.template."
printf "$column" 'template-dotenv' '' 'Generate .env from .env.template.'
```
### open-with-os
@@ -61,7 +61,7 @@ printf "$column" 'open-with-os' '' 'Open file or url with default application.'
### open-url-with-delay
```bash
printf "$column" 'open-url-with-delay' '[url][delay]' 'Open url after n seconds."
printf "$column" 'open-url-with-delay' '[url][delay]' 'Open url after n seconds.'
```
## Python
@@ -69,7 +69,7 @@ printf "$column" 'open-url-with-delay' '[url][delay]' 'Open url after n seconds.
### activate-venv
```bash
printf "$column" "activate-venv" "" "Activate or initialize Python virtual env."
printf "$column" 'activate-venv' '' 'Activate or initialize Python virtual env.'
```
## Environment
@@ -77,67 +77,67 @@ printf "$column" "activate-venv" "" "Activate or initialize Python virtual env."
### create-odoo-env
```bash
printf "$column" "create-odoo-env" "[env]" "Create env file for Odoo instance."
printf "$column" 'create-odoo-env' '[env]' 'Create env file for Odoo instance.'
```
### create-nextcloud-env
```bash
printf "$column" "create-nextcloud-env" "[env]" "Create env file for Nextcloud Instance."
printf "$column" 'create-nextcloud-env' '[env]' 'Create env file for Nextcloud Instance.'
```
### list-env
```bash
printf "$column" "list-env" "" "List env files."
printf "$column" 'list-env' '' 'List env files.'
```
### show-env
```bash
printf "$column" "show-env" "[env]" "Output content of the env file."
printf "$column" 'show-env' '[env]' 'Output content of the env file.'
```
### copy-env
```bash
printf "$column" "copy-env" "[env][env]" "Copy env file."
printf "$column" 'copy-env' '[env][env]' 'Copy env file.'
```
### edit-env
```bash
printf "$column" "edit-env" "[env]" "Open env file in default editor."
printf "$column" 'edit-env' '[env]' 'Open env file in default editor.'
```
### load-env
```bash
printf "$column" "load-env" "[env]" "Load and export env file."
printf "$column" 'load-env' '[env]' 'Load and export env file.'
```
### rename-env
```bash
printf "$column" "rename-env" "[env][env]" "Rename env file."
printf "$column" 'rename-env' '[env][env]' 'Rename env file.'
```
### remove-env
```bash
printf "$column" "remove-env" "[env]" "Remove environment config."
printf "$column" 'remove-env' '[env]' 'Remove environment config.'
```
### backup-env-files
```bash
printf "$column" "backup-env-files" "[path]" "Archive and copy env files to target location."
printf "$column" 'backup-env-files' '[path]' 'Archive and copy env files to target location.'
```
### restore-env-files
```bash
printf "$column" "restore-env-files" "[path]" "Extract and copy env files from backup file."
printf "$column" 'restore-env-files' '[path]' 'Extract and copy env files from backup file.'
```
## LLM
@@ -145,13 +145,13 @@ printf "$column" "restore-env-files" "[path]" "Extract and copy env files from b
### commit-with-llm
```bash
printf "$column" "commit-with-llm" "" "Commit with llm generated commit message."
printf "$column" 'commit-with-llm' '' 'Commit with llm generated commit message.'
```
### update-with-llm
```bash
printf "$column" "update-with-llm" "[glob][prompt]" "Feed files matching glob to LLM and apply changes."
printf "$column" 'update-with-llm' '[glob][prompt]' 'Feed files matching glob to LLM and apply changes.'
```
## Logging
@@ -159,7 +159,7 @@ printf "$column" "update-with-llm" "[glob][prompt]" "Feed files matching glob to
### log-warning
```bash
printf "$column" "log-warning" "" "Colored output for warnings."
printf "$column" 'log-warning' '' 'Colored output for warnings.'
```
## Git
@@ -167,7 +167,7 @@ printf "$column" "log-warning" "" "Colored output for warnings."
### update-submodule
```bash
printf "$column" "update-submodule" "" "Update git submodules."
printf "$column" 'update-submodule' '' 'Update git submodules.'
```
## Pass
@@ -181,13 +181,13 @@ PASS_ENTRY=$(echo "env/${PWD##*/}" | tr '[:upper:]' '[:lower:]')
### save-dotenv-to-pass
```bash
printf "$column" "save-dotenv-to-pass" "" "Store content of .env in pass entry."
printf "$column" 'save-dotenv-to-pass' '' 'Store content of .env in pass entry.'
```
### load-dotenv-from-pass
```bash
printf "$column" "load-dotenv-from-pass" "" "Restore content to .env from pass entry."
printf "$column" 'load-dotenv-from-pass' '' 'Restore content to .env from pass entry.'
```
## KeePass
@@ -203,25 +203,25 @@ KEEPASS_ENTRY=$(echo "env/${PWD##*/}" | tr '[:upper:]' '[:lower:]')
### save-pass-to-keepass
```bash
printf "$column" "save-pass-to-keepass" "[pass][entry]" "Store password to KeePass entry."
printf "$column" 'save-pass-to-keepass' '[pass][entry]' 'Store password to KeePass entry.'
```
### get-pass-from-keepass
```bash
printf "$column" "get-pass-from-keepass" "[entry]" "Get password from KeePass entry."
printf "$column" 'get-pass-from-keepass' '[entry]' 'Get password from KeePass entry.'
```
### save-dotenv-to-keepass
```bash
printf "$column" "save-dotenv-to-keepass" "" "Store content of .env in KeePass entry."
printf "$column" 'save-dotenv-to-keepass' '' 'Store content of .env in KeePass entry.'
```
### load-dotenv-from-keepass
```bash
printf "$column" "load-dotenv-from-keepass" "" "Restore content to .env from KeePass entry."
printf "$column" 'load-dotenv-from-keepass' '' 'Restore content to .env from KeePass entry.'
```
## Docker
@@ -239,11 +239,11 @@ DOCKER_CONFIG="$HOME/.docker/$CONTAINER_REGISTRY/"
### login-docker
```bash
printf "$column" "login-docker" "[user][token]" "Run Docker login and create docker config."
printf "$column" 'login-docker' '[user][token]' 'Run Docker login and create docker config.'
```
### build-image
```bash
printf "$column" "build-image" "[output]" "Build Docker image with buildx."
printf "$column" 'build-image' '[output]' 'Build Docker image with buildx.'
```