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
As a software developer, I want to define an argument as "experimental" and have swift-argument-parser handle adding the --experimental command line prefix
instead of providing the name experimental-<actual-name>, it would be better to provide an boolean argument isExperimental: Bool which defaults to false. This way, there is consistency in the naming of experimental flag
Acceptance Criteria:
an isExperimental, or equivalent, argument is available for all argument types.
The isExperimental argument is a Boolean and defaults to false
if the argument is set to false, argument parser behaves as it does today
If the argument is set to true, the command line argument name is prefixed the name with experimental-. e.g.: --experimental-<name>
The text was updated successfully, but these errors were encountered:
As a software developer, I want to define an argument as "experimental" and have swift-argument-parser handle adding the
--experimental
command line prefixThere are cases when we introduce an experimental command line argument to a command line tool. (e.g.: https://github.com/swiftlang/swift-package-manager/pull/8147/files#diff-e48104d0afa05391fe5ce04c6c616253d7770dab98a1f4497ac2a346606137aeR192)
instead of providing the name
experimental-<actual-name>
, it would be better to provide an boolean argumentisExperimental: Bool
which defaults to false. This way, there is consistency in the naming of experimental flagAcceptance Criteria:
isExperimental
, or equivalent, argument is available for all argument types.isExperimental
argument is a Boolean and defaults tofalse
false
, argument parser behaves as it does todaytrue
, the command line argument name is prefixed the name withexperimental-
. e.g.:--experimental-<name>
The text was updated successfully, but these errors were encountered: