Files
git.taskfile.build/task.template
T

249 lines
12 KiB
Bash
Executable File

#!/usr/bin/env bash
set -e
help-table() {
local -a rows
local max_cmd=7 max_opt=6 max_desc=11
rows+=("Command|Option|Description")
rows+=("===Task===| | ")
rows+=("clone-taskfile||Clone the taskfile.build repo.")
rows+=("init-project||Setup a taskfile project in the current directory.")
rows+=("init-dotenv-dir||Setup task dotenv dir.")
rows+=("template-dotenv||Generate .env from .env.template.")
rows+=("open-with-os|<path>|Open file or url with default application.")
rows+=("open-url|<url>|Open url.")
rows+=("show-dotenv-setup||Show info about the dotenv setup.")
rows+=("setup-completion|[shell]|Show shell completion instructions.")
rows+=("list-aliases||List all library command aliases.")
rows