Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/cli.ts>SudoOptions

A JavaScript extension package for building strong and modern applications.
Latest
interface SudoOptions
import { type SudoOptions } from "https://deno.land/x/ayonli_jsext@v0.9.72/cli.ts";

Options for the sudo function.

Properties

optional
gui: boolean

By default, the sudo function will use the sudo command when available and running in text mode. Set this option to true to force using the GUI prompt instead.

NOTE: This option is not available and will be ignored in Windows Subsystem for Linux.

optional
title: string

Customize the dialog's title when gui option is set.