Files
git.taskfile.build/bin/list-dotenv
T
Janik von Rotz befed194b9 feat(dotenv): enhance list-dotenv with relative path display and improved type classification
- Added relative path column to display .env file locations relative to current directory
- Implemented relative-path helper function with fallback for systems without realpath
- Updated type classification to use lowercase consistently (project, template, nextcloud, upgrade)
- Improved table formatting with proper column widths and separators
- Fixed type detection logic to properly handle template files in both directories
- Added path column to both TASK_DOTENV_DIR and current directory file listings
2026-01-27 09:15:52 +01:00

67 lines
2.2 KiB
Bash
Executable File

#!/usr/bin/env bash
list-dotenv() {
TASK_DOTENV_DIR=${TASK_DOTENV_DIR:="$HOME/.config/taskfile.build"}