[JBoss JIRA] (FORGE-2279) Renaming parameters so their either use camel case or dash
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2279?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2279.
----------------------------------
Resolution: Done
> Renaming parameters so their either use camel case or dash
> ----------------------------------------------------------
>
> Key: FORGE-2279
> URL: https://issues.jboss.org/browse/FORGE-2279
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.x Future
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> One discussion that came once on #IRC was "shall we use camel case on the command parameters, or shall we be more 'unixy' and use a dash syntax". At the moment, most of the parameters have the following syntax :
> {code}
> --targetPackage
> --targetLocation
> --columnName
> {code}
> But a few parameters don't use camel case but the dash syntax :
> {code}
> --not-nullable
> --not-insertable
> --not-updatable
> {code}
> We should choose one syntax and stick to it.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (FORGE-2279) Renaming parameters so their either use camel case or dash
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2279?page=com.atlassian.jira.plugin... ]
George Gastaldi reopened FORGE-2279:
------------------------------------
The conversion algorithm is still not covering all use-cases. Reopening
> Renaming parameters so their either use camel case or dash
> ----------------------------------------------------------
>
> Key: FORGE-2279
> URL: https://issues.jboss.org/browse/FORGE-2279
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.x Future
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> One discussion that came once on #IRC was "shall we use camel case on the command parameters, or shall we be more 'unixy' and use a dash syntax". At the moment, most of the parameters have the following syntax :
> {code}
> --targetPackage
> --targetLocation
> --columnName
> {code}
> But a few parameters don't use camel case but the dash syntax :
> {code}
> --not-nullable
> --not-insertable
> --not-updatable
> {code}
> We should choose one syntax and stick to it.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (FORGE-2279) Renaming parameters so their either use camel case or dash
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2279?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2279:
----------------------------------------
Yes, it should work for all parameter names afaik. About the {{--show-parameters}} option that may not work properly because commands can decide which parameters to show on runtime
> Renaming parameters so their either use camel case or dash
> ----------------------------------------------------------
>
> Key: FORGE-2279
> URL: https://issues.jboss.org/browse/FORGE-2279
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.x Future
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> One discussion that came once on #IRC was "shall we use camel case on the command parameters, or shall we be more 'unixy' and use a dash syntax". At the moment, most of the parameters have the following syntax :
> {code}
> --targetPackage
> --targetLocation
> --columnName
> {code}
> But a few parameters don't use camel case but the dash syntax :
> {code}
> --not-nullable
> --not-insertable
> --not-updatable
> {code}
> We should choose one syntax and stick to it.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (FORGE-2279) Renaming parameters so their either use camel case or dash
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-2279?page=com.atlassian.jira.plugin... ]
Antonio Goncalves commented on FORGE-2279:
------------------------------------------
Done ? For all the parameters ? BTW, is there a way to list all the parameters of all the commands (something like {{command-list --show-parameters}}). It would be helpful to review all the naming conventions
> Renaming parameters so their either use camel case or dash
> ----------------------------------------------------------
>
> Key: FORGE-2279
> URL: https://issues.jboss.org/browse/FORGE-2279
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.x Future
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 3.0.0.Alpha1
>
>
> One discussion that came once on #IRC was "shall we use camel case on the command parameters, or shall we be more 'unixy' and use a dash syntax". At the moment, most of the parameters have the following syntax :
> {code}
> --targetPackage
> --targetLocation
> --columnName
> {code}
> But a few parameters don't use camel case but the dash syntax :
> {code}
> --not-nullable
> --not-insertable
> --not-updatable
> {code}
> We should choose one syntax and stick to it.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months