Skip to content

quoteForDeviceShell

Quotes a string for the device’s sh, in single quotes.

Import:

import { quoteForDeviceShell } from '@mnaoumov/obsidian-dev-toolkit/device-deployment';

Signature:

function quoteForDeviceShell(value: string): string

Parameters:

Parameter Type Description
value string The string to quote.

Returns: string — The quoted string.