Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-245

Support structured options in @Commands

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.0.0.Alpha2
    • None
    • Plugin API
    • None

    Description

      ver considered allowing something like

      generateEntities(@Option String table, @Option String catalog, @Option @Option String schema, @NestedOption final JPADataSource datasource)

      class DataSource {

      public DataSource(@Option(...) String name, @Option(..) password, @Option(..) ..)

      ...
      )

      Which would actually provide some more nested structure and be useful in ui construction in IDE plus better naming of things even in shell ?

      Would also be good to be able to reference "default" @JPADatasource should be "production", "dev" or "test" if SEAMFORGE-210 comes to life?

      Attachments

        Issue Links

          Activity

            People

              lincolnthree Lincoln Baxter III (Inactive)
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: