Skip to main content
Module

x/args/utils.ts>makeIndent

Extensible CLI arguments parser for Deno with intelligent TypeScript inference
Latest
function makeIndent
import { makeIndent } from "https://deno.land/x/args@2.1.1/utils.ts";

Convert a multi-line string into an iterator of lines, with each line being prefixed

Parameters

text: string

Multi-line string

indent: string

Prefix to each line