Steve Lawrence created DAFFODIL-1958:
----------------------------------------

             Summary: 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
             Fix For: 2.2.0


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
(v7.6.3#76005)

Reply via email to