Bound for the Main
A sea shanty about the hk git hook manager
The lyrics are below. For the tool itself, start with getting started.
Verse 1
I christened her "feat: hoist the sails", (Heave ho!)
And I typed git commit and hit return,
Then the hook piped all hands on deck, (Haul away!)
And they tumbled up from stem to stern!
Chorus
Heave away, haul away, hk! (Heave ho!)
All hands haul at once! (Haul away!)
For a lock on each file takes the strain,
And we're bound away for the main!
Verse 2
I'd a TODO line I hadn't staged, (Heave ho!)
So hk stashed it safe from the cold,
For the crew see just the cargo I ship, (Haul away!)
And my line lay snug in the hold.
Verse 3
Then shfmt, prettier and ruff, (Heave ho!)
All tailed on at once on the rising tide,
Each hand on a file of their own, made fast, (Haul away!)
So the three of them hauled side by side!
(Chorus)
Verse 4
All the fixes were staged, so I skipped the dance, (Heave ho!)
No "fail, git add, and commit again",
Then my stash came up like an anchor weighed, (Haul away!)
And "feat: hoist the sails" made the main!
(Chorus)
Bridge
Who'll check the cargo? (hk check!)
Who'll mend the canvas? (hk fix!)
Who'll haul the halyard? (All hands at once!)
And where are we bound? (Bound for the main!)
Verse 5
The hook, the helm and the harbor-master, (Heave ho!)
All muster the self-same crew,
For they steer by the one set of charts, (Haul away!)
In hk.pkl, typed and true!
Verse 6
Her sister sailed with deploy.sh, (Bound for the main?)
And a loose end no fixer could splice,
Then shellcheck sang out from aloft, "Bug, ho!" (Where away?)
"Dead ahead!" And the hook tugged her twice!
(Heave!)
(Ho!)
Final Chorus
Heave away, haul away, hk! (Heave ho!)
All hands haul at once! (Haul away!)
For a lock on each file takes the strain,
But she never made the main!
Outro
So all you hands who would sign aboard, (Heave ho!)
There's but three words left to say:
mise use hk! (mise use hk!)
And we're bound away for the main!
