Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/powar/deps.ts>cliffy.Command#stopEarly

A simple but powerful TypeScript-based dot-file manager.
Go to Latest
method cliffy.Command.prototype.stopEarly
Re-export
import { cliffy } from "https://deno.land/x/powar@1.0.3/deps.ts";
const { Command } = cliffy;

Enable stop early. If enabled, all arguments starting from the first non option argument will be passed as arguments with type string to the command action handler.

For example: command --debug-level warning server --port 80

Will result in: - options: { debugLevel: 'warning' } - args: ['server', '--port', '80']

Parameters

optional
stopEarly = [UNSUPPORTED]

Enable/disable stop early.