Cobalt-mediated regio- and stereoselective assembly of dienamides by hydroaminative alkyne coupling of alpha,omega-diynes.