Skip to main content
Module

x/cliffy/command/types/string.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
File
import { string } from "../../flags/types/string.ts";import { Type } from "../type.ts";import type { ArgumentValue } from "../types.ts";
/** String type. Allows any value. */export class StringType extends Type<string> { /** Complete string type. */ public parse(type: ArgumentValue): string { return string(type); }}