Commit Graph

  • 86b8cfcfaa Addition: opts.allowMultipleFlagValues & more accurate return flag types opts.allowMultipleFlagValues -> returns flag values as array and add duplicate flags to the array instead of picking the last one (eg ["--foo", "hello", "--foo=world!"] -> { foo: ["hello", "world!"] }). Flag return types are now typed as Partials if a default is not present and opts.allowMultipleFlagValues is not enabled. main Oxtaly 2025-06-15 05:18:54 +02:00
  • c16dbc7d56 Addition: licence & git repo in package.json Oxtaly 2025-05-14 21:55:46 +02:00
  • 1b9b9e1312 Addition: flag.acceptsNaturalValue (default behavior unchanged) Oxtaly 2025-05-14 02:57:43 +02:00
  • 5533706b30 Additions & fixes, mainly filtering options & internal refactors Oxtaly 2025-05-13 02:12:12 +02:00
  • 4876804e6c Addition: otps.addFlagShorthandsAsAliases -> Automatically adds shorthands into aliases, so --f resolves to --flag like -f would (with the shorthand configured as -f) Oxtaly 2025-05-11 22:32:00 +02:00
  • 815bb52510 Added opts.handleBackslashesForSpecialFlagChars and fixed/clarified the code for backslashes & clarified opts.lowerCaseInputValues & opts.lowerCaseFlagValues descriptions Oxtaly 2025-05-11 21:14:20 +02:00
  • 49d74d9de5 Added opts.lowerCaseInputValues and opts.lowerCaseFlagValues options & refactored flag processing to no longer use temporary flagVal and flagKey vars Oxtaly 2025-05-11 16:41:12 +02:00
  • 63e0e6c06a Initial remote commit Oxtaly 2025-05-11 07:20:00 +02:00
  • d0076ec294 More appropriate renaming Oxtaly 2025-05-11 06:40:17 +02:00
  • ef73c447df Added bigint flag type & negated flag bug fixes due to flag.requiredValue option, some refactors for run<Thing> & some other internal functions & fixed 'ignore' value for opts.behaviorOnInputError & fixed flag values on string typed flags when opts.resolveFlagValueTypes was turned on Oxtaly 2025-05-09 18:07:14 +02:00
  • aef5a62455 Initial commit Oxtaly 2025-05-09 15:55:57 +02:00