You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems reasonably easy and potentially non-breaking. Am I missing something?
(I wonder if retaining the default behaviour got left out or was more difficult early on with the big refactors to move to the factory pattern and multi-platform node/deno/browser.)
The text was updated successfully, but these errors were encountered:
The old singleton pattern defaulted to the most common case of parsing the command-line arguments:
The new factory pattern is currently a bit clunky by comparison.
If we default to the command-line arguments we get back to close to the singleton ergonomics. Single import. Simple creation.
It seems reasonably easy and potentially non-breaking. Am I missing something?
(I wonder if retaining the default behaviour got left out or was more difficult early on with the big refactors to move to the factory pattern and multi-platform node/deno/browser.)
The text was updated successfully, but these errors were encountered: