zx icon indicating copy to clipboard operation
zx copied to clipboard

Suggestion: export dedent template utility

Open troywweber7 opened this issue 2 years ago • 1 comments

I just wanted to drop a suggestion to re-export the dedent function. It is helpful in writing help strings for a CLI.

import dedent from 'dedent';

const HELP_MESSAGE = dedent`
    Usage: ...
`

troywweber7 avatar Aug 31 '22 20:08 troywweber7

This seems useful. But zx is already really big.

Also in zx@dev you can use

zx —install script

antonmedv avatar Sep 01 '22 05:09 antonmedv

https://github.com/google/zx/pull/522

antonmedv avatar Oct 04 '22 21:10 antonmedv