PackageTrack

npm · #3621

@rushstack/ts-command-line

5.3.13microsoft/rushstack

An object-oriented command-line parser for TypeScript

Release timeline

136 releases since 2020
2020202120222023202420252026

Releases

  1. 4.18.028 Feb 2024
    Release notes

    Wed, 28 Feb 2024 16:09:27 GMT

    Minor changes

    • Allow choice parameters alternatives to be typed.
    • Update the return type of defineChoiceParameter, defineIntegerParameter, and defineStringParameter respectively when the { required: true } option is set to a new type (IRequiredCommandLineChoiceParameter, IRequiredCommandLineIntegerParameter, and IRequiredCommandLineStringParameter respectively) with a required value property.
    Open source →
  2. 4.17.424 Feb 2024
    Release notes

    Sat, 24 Feb 2024 23:02:51 GMT

    Version update only

    Open source →
  3. 4.17.321 Feb 2024
    Release notes

    Wed, 21 Feb 2024 21:45:28 GMT

    Patches

    • Replace the dependency on the colors package with Colorize from @rushstack/terminal.
    Open source →
  4. 4.17.217 Feb 2024
    Release notes

    Sat, 17 Feb 2024 06:24:35 GMT

    Patches

    • Fix broken link to API documentation
    Open source →
  5. 4.17.11 Nov 2023
    Release notes

    Wed, 01 Nov 2023 23:11:35 GMT

    Patches

    • Fix line endings in published package.
    Open source →
  6. 4.17.030 Oct 2023
    Release notes

    Mon, 30 Oct 2023 23:36:37 GMT

    Minor changes

    • Consider parent tool and action parameters when determining ambiguous abbreviations. For example, if a CLI tool mytool has a parameter --myparam and an action myaction, then myaction would not accept a parameter named --myparam (i.e. - mytool --myparam myaction is valid, mytool myaction --myparam is not). Additionally, any parameter that can be abbreviated to --myparam must be uniquely provided (i.e. - --myparam-2 can only be abbreviated to --myparam-, since any shorter abbreviation would be ambiguous with the original --myparam on the tool).
    Open source →
  7. 4.16.126 Sept 2023
    Release notes

    Tue, 26 Sep 2023 09:30:33 GMT

    Patches

    • Update type-only imports to include the type modifier.
    Open source →
  8. 4.16.015 Sept 2023
    Release notes

    Fri, 15 Sep 2023 00:36:58 GMT

    Minor changes

    • Update @types/node from 14 to 18
    Open source →
  9. 4.15.28 Aug 2023
    Release notes

    Tue, 08 Aug 2023 07:10:40 GMT

    Version update only

    Open source →
  10. 4.15.115 Jun 2023
    Release notes

    Thu, 15 Jun 2023 00:21:01 GMT

    Version update only

    Open source →
  11. 4.15.013 Jun 2023
    Release notes

    Tue, 13 Jun 2023 01:49:01 GMT

    Minor changes

    • Add support for handling ambiguous parameters when conflicting parameters are provided but they provide a non-conflicting alternative (e.g. parameters with the same short-name but different long-names, scoped parameters with the same long-name but different scopes). When using an ambiguous parameter on the CLI, an error message describing the ambiguous parameter usage will appear.
    Open source →
  12. 4.14.07 Jun 2023
    Release notes

    Wed, 07 Jun 2023 22:45:16 GMT

    Minor changes

    • Add AliasCommandLineAction, a CommandLineAction that can be used to redirect commands with optional default arguments to existing commands.
    Open source →
  13. 4.13.322 May 2023
    Release notes

    Mon, 22 May 2023 06:34:33 GMT

    Version update only

    Open source →
  14. 4.13.210 Feb 2023
    Release notes

    Fri, 10 Feb 2023 01:18:50 GMT

    Version update only

    Open source →
  15. 4.13.18 Nov 2022
    Release notes

    Tue, 08 Nov 2022 01:20:55 GMT

    Patches

    • Make ScopedCommandLineAction.onDefineUnscopedParameters optional to match CommandLineAciton.onDefineParameters
    Open source →
  16. 4.13.017 Oct 2022
    Release notes

    Mon, 17 Oct 2022 22:14:21 GMT

    Minor changes

    • Make the onDefineParameters function optional for CommandLineActions and CommandLineParsers that either don't have parameters or that define their parameters in their constructor.
    Open source →
  17. 4.12.510 Oct 2022
    Release notes

    Mon, 10 Oct 2022 15:23:44 GMT

    Version update only

    Open source →
  18. 4.12.429 Sept 2022
    Release notes

    Thu, 29 Sep 2022 07:13:06 GMT

    Version update only

    Open source →
  19. 4.12.315 Sept 2022
    Release notes

    Thu, 15 Sep 2022 00:18:51 GMT

    Version update only

    Open source →
  20. 4.12.23 Aug 2022
    Release notes

    Wed, 03 Aug 2022 18:40:35 GMT

    Version update only

    Open source →
  21. 4.12.128 Jun 2022
    Release notes

    Tue, 28 Jun 2022 00:23:32 GMT

    Version update only

    Open source →
  22. 4.12.023 Jun 2022
    Release notes

    Thu, 23 Jun 2022 22:14:24 GMT

    Minor changes

    • Add parameter scopes. Parameter scopes allow for behind-the-scenes conflict resolution between parameters with the same long name. For example, when provided scope "my-scope", a parameter can be referenced on the CLI as "--my-parameter" or as "--my-scope:my-parameter". In the case that multiple parameters are registered with the same long name but different scopes, the parameters can only be referenced by their scoped long names, eg. "--my-scope:my-parameter" and "--my-other-scope:my-parameter".
    Open source →
  23. 4.11.117 Jun 2022
    Release notes

    Fri, 17 Jun 2022 00:16:18 GMT

    Version update only

    Open source →
  24. 4.11.010 May 2022
    Release notes

    Tue, 10 May 2022 01:20:43 GMT

    Minor changes

    • Add ScopedCommandLineAction class, which allows for the definition of actions that have dynamic arguments whose definition depends on a provided scope. See https://github.com/microsoft/rushstack/pull/3364
    Open source →
  25. 4.10.1023 Apr 2022
    Release notes

    Sat, 23 Apr 2022 02:13:07 GMT

    Version update only

    Open source →
  26. 4.10.915 Apr 2022
    Release notes

    Fri, 15 Apr 2022 00:12:36 GMT

    Version update only

    Open source →
  27. 4.10.89 Apr 2022
    Release notes

    Sat, 09 Apr 2022 02:24:27 GMT

    Patches

    • Rename the "master" branch to "main".
    Open source →
  28. 4.10.715 Mar 2022
    Release notes

    Tue, 15 Mar 2022 19:15:53 GMT

    Version update only

    Open source →
  29. 4.10.627 Dec 2021
    Release notes

    Mon, 27 Dec 2021 16:10:40 GMT

    Version update only

    Open source →
  30. 4.10.56 Dec 2021
    Release notes

    Mon, 06 Dec 2021 16:08:32 GMT

    Version update only

    Open source →
  31. 4.10.45 Nov 2021
    Release notes

    Fri, 05 Nov 2021 15:09:18 GMT

    Version update only

    Open source →
  32. 4.10.327 Oct 2021
    Release notes

    Wed, 27 Oct 2021 00:08:15 GMT

    Patches

    • Update the package.json repository field to include the directory property.
    Open source →
  33. 4.10.213 Oct 2021
    Release notes

    Wed, 13 Oct 2021 15:09:54 GMT

    Version update only

    Open source →
  34. 4.10.17 Oct 2021
    Release notes

    Thu, 07 Oct 2021 07:13:35 GMT

    Version update only

    Open source →
  35. 4.10.04 Oct 2021
    Release notes

    Mon, 04 Oct 2021 15:10:18 GMT

    Minor changes

    • Add safety check parametersProcessed to CommandLineParameterProvider
    Open source →
  36. 4.9.123 Sept 2021
    Release notes

    Thu, 23 Sep 2021 00:10:41 GMT

    Patches

    • Upgrade the @types/node dependency to version to version 12.
    Open source →
  37. 4.9.020 Aug 2021
    Release notes

    Fri, 20 Aug 2021 15:08:10 GMT

    Minor changes

    • Add getParameterStringMap to CommandLineParameterProvider, to easily query parameter usage for telemetry
    Open source →
  38. 4.8.112 Jul 2021
    Release notes

    Mon, 12 Jul 2021 23:08:26 GMT

    Version update only

    Open source →
  39. 4.8.01 Jul 2021
    Release notes

    Thu, 01 Jul 2021 15:08:27 GMT

    Minor changes

    • Add ChoiceList and IntegerList parameter types
    Open source →
  40. 4.7.1012 Apr 2021
    Release notes

    Mon, 12 Apr 2021 15:10:28 GMT

    Version update only

    Open source →
  41. 4.7.96 Apr 2021
    Release notes

    Tue, 06 Apr 2021 15:14:22 GMT

    Version update only

    Open source →
  42. 4.7.810 Dec 2020
    Release notes

    Thu, 10 Dec 2020 23:25:49 GMT

    Version update only

    Open source →
  43. 4.7.711 Nov 2020
    Release notes

    Wed, 11 Nov 2020 01:08:59 GMT

    Version update only

    Open source →
  44. 4.7.630 Oct 2020
    Release notes

    Fri, 30 Oct 2020 06:38:39 GMT

    Version update only

    Open source →
  45. 4.7.530 Oct 2020
    Release notes

    Fri, 30 Oct 2020 00:10:14 GMT

    Version update only

    Open source →
  46. 4.7.428 Oct 2020
    Release notes

    Wed, 28 Oct 2020 01:18:03 GMT

    Version update only

    Open source →
  47. 4.7.36 Oct 2020
    Release notes

    Tue, 06 Oct 2020 00:24:06 GMT

    Version update only

    Open source →
  48. 4.7.25 Oct 2020
    Release notes

    Mon, 05 Oct 2020 22:36:57 GMT

    Version update only

    Open source →
  49. 4.7.130 Sept 2020
    Release notes

    Wed, 30 Sep 2020 18:39:17 GMT

    Patches

    • Update to build with @rushstack/heft-node-rig
    Open source →
  50. 4.7.030 Sept 2020
    Release notes

    Wed, 30 Sep 2020 06:53:53 GMT

    Minor changes

    • Upgrade compiler; the API now requires TypeScript 3.9 or newer

    Patches

    • Update README.md
    Open source →
  51. 4.6.1022 Sept 2020
    Release notes

    Tue, 22 Sep 2020 05:45:57 GMT

    Version update only

    Open source →
  52. 4.6.922 Sept 2020
    Release notes

    Tue, 22 Sep 2020 01:45:31 GMT

    Version update only

    Open source →
  53. 4.6.822 Sept 2020
    Release notes

    Tue, 22 Sep 2020 00:08:53 GMT

    Version update only

    Open source →
  54. 4.6.719 Sept 2020
    Release notes

    Sat, 19 Sep 2020 04:37:27 GMT

    Version update only

    Open source →
  55. 4.6.619 Sept 2020
    Release notes

    Sat, 19 Sep 2020 03:33:07 GMT

    Version update only

    Open source →
  56. 4.6.518 Sept 2020
    Release notes

    Fri, 18 Sep 2020 22:57:24 GMT

    Version update only

    Open source →
  57. 4.6.427 Aug 2020
    Release notes

    Thu, 27 Aug 2020 11:27:06 GMT

    Version update only

    Open source →
  58. 4.6.324 Aug 2020
    Release notes

    Mon, 24 Aug 2020 07:35:20 GMT

    Version update only

    Open source →
  59. 4.6.222 Aug 2020
    Release notes

    Sat, 22 Aug 2020 05:55:43 GMT

    Version update only

    Open source →
  60. 4.6.121 Aug 2020
    Release notes

    Fri, 21 Aug 2020 01:21:17 GMT

    Patches

    • Fix an issue where usage of a parameter specified undocumentedSynonyms yielded invalid data.
    Open source →