1. 4

Hey folks, I’m trying to weigh my options here and would love some feedback from people who have actually used some of these libraries.

The basic gist is that we have some internal frameworks I’ve been working on, and folks are asking for a CLI scaffolding generator similar to rails for Rails or ng for Angular. I’ve looked at Commander for both Ruby and JavaScript, and I’ve seen tools like Yeoman before, but I haven’t actually used them.

Has anyone had experience with generating a scaffolding like this? Any recommendations? I’m open to any language – the target templates will be Java, but I can write it in pretty much anything.

  1.  

  2. 1

    I recommend that you write the scaffolding generator in golang or rust. Golang easily compiles and generates a binary for a lot of platforms and it has good libraries for creating CLI tools. I wrote one in golang: https://github.com/unbalancedparentheses/gut/blob/master/gut.go

    1. 1

      Thanks, I’ll check it out

    2. 1

      Maybe look into https://atomist.com/ I think that is part of what they want to solve.

      1. 1

        If this is for a web application, I wrote kwebapp for exactly this situation. It can be fairly easily extended to emit Java, although its focus now is on BCHS applications.

        1. 1

          I’ll take a look, thanks!

        2. 0

          Maybe look into https://atomist.com/ I think that is part of what they want to solve.