import type { SingleOption } from '@boost/args'; import { createOptionDecorator } from '../metadata/createOptionDecorator'; import type { PartialConfig } from '../types'; /** * A property decorator for declaring a command line option with a string value. */ export function String( description: string, config?: PartialConfig>, ): PropertyDecorator { return createOptionDecorator>({ ...config, description, type: 'string', }); }