- Added `bin/visualize-dependencies` script to generate interactive dependency graphs for Ansible roles - Created `visualize-dependencies` command in `task` file to run visualization and open HTML output - Updated role dependencies to use `docker_network` instead of `docker` where appropriate - Added `meilisearch_client` role with dependency on `meilisearch` - Cleaned up README.md files by removing redundant newlines - Added kind classification to all role READMEs (consistent with previous commits)
825 lines
29 KiB
Bash
Executable File
825 lines
29 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
help-table() {
|
|
local cmd_width=30
|
|
local opt_width=26
|
|
local desc_width=70
|
|
local column="| %-${cmd_width}s | %-${opt_width}s | %-${desc_width}s |\n"
|
|
|
|
printf "$column" 'Command' 'Option' 'Description'
|
|
echo "|$(printf '%*s' $((cmd_width + 2)) '' | tr ' ' '-')|$(printf '%*s' $((opt_width + 2)) '' | tr ' ' '-')|$(printf '%*s' $((desc_width + 2)) '' | tr ' ' '-')|"
|
|
# Env
|
|
printf "$column" 'version' '' 'Show tool versions.'
|
|
# Visualization
|