Duration flag with built-in default and min/max validation You must specify a unit Defaults to undefined if you don't specify a default

import { Flags } from '@salesforce/sf-plugins-core';
public static flags = {
wait: Flags.duration({
min: 1,
unit: 'minutes'
defaultValue: 33,
char: 'w',
description: 'Wait time in minutes'
}),
}