[
https://issues.apache.org/jira/browse/DAFFODIL-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence reassigned DAFFODIL-1958:
----------------------------------------
Assignee: (was: Gézapeti)
> Remove Scallop configuration code redundency
> --------------------------------------------
>
> Key: DAFFODIL-1958
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1958
> Project: Daffodil
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 2.1.0
> Reporter: Steve Lawrence
> Priority: Minor
> Labels: beginner
>
> Many of the options in the Scallop configuration in Main.scala is duplicate.
> For example, all subcommands except for "test" accept the "-s" option. The
> configuration for the -s is currently duplicated among all the commands. To
> clean up this code, we should create traits that contain shared options and
> mix them into the subcommands. See the scallop wiki for how to create traits
> and mix them in to work with Scallop:
> https://github.com/scallop/scallop/wiki/Subcommands#sharing-arguments-with-inheritance
--
This message was sent by Atlassian Jira
(v8.20.10#820010)