Git Product home page Git Product logo

confectorycli's Introduction

confectoryCLI-logo

A simple code generator CLI for Confectory project

confectorycli's People

Contributors

fernandonsc5 avatar

Stargazers

Oswaldo Baptista Vicente Junior avatar

Watchers

James Cloos avatar  avatar

confectorycli's Issues

Style Formatter

The CLI data must be formatted for easy usage and understanding

CLI Static Information

A Storage file is needed in order to store the CLI String static information, such as Logotype, version and and questions.

The file must enable gets by steps:

genericStorage.QUESTION["Step 1A"]

Question data:

  1. Define a namespace for the new Configuration (default=""):
  2. Enter a precedence for the new Configuration (default=0)
  3. Choose a Source:
    3.1 Dynamic
    3.2 Classpath File Source
    3.3 File Source
  4. Enter the file/resource path (required):
  5. Choose a Mapper:
    5.1 StringMapper
    5.2 PropertiesMapper
  6. Is the new configuration Required?
    6.1 Yes
    6.2 No
  7. Do you want to add another Configuration?
    7.1 Yes
    7.2 No

CLI Core

The IHM. Responsable for reading data and processing it.

Blocked by Issue #1 (CLI Static Information)

Improove Data/core module

Data module must store confectory template and core module must be able to parse CLI reeden information to the created template.

Template:

Configuration<${targetType}> config = Configuration.<${targetType}>builder()
        .namespace("namespace1")
        .precedence(${precedence})
        .source(SourceFactory.${source}("${sourceParam}")
        .mapper(new ${mapperClass}())
        . ${optionalOrRequired}()
        .build();

Depends on #3

User CLI skip

Input flux must be stopped when the user forces to exit (ctrl+c/ctrl+x/ctrl+z).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.