Spring Boot Code Generator
Project description
Spring Leaf
🍃 Easy to use Spring Boot CLI 🍃
SpringLeaf CLI creates, manages, builds and test your SpringBoot Applications
Quickstart
To install springleaf
, use pip:
$ pip install springleaf
Description
SpringLeaf is All In One CLI for your Spring Boot Applications
Some of the features are:
- Generating DTOs, Repositories, Services, Request and Response classes out of Entity model
- Initializing new Spring Boot project with SpringInitializr - Maven, Gradle (not yet supported)
Usage
Code generation
SpringInitializr
- @TODO (custom folder structures)
Changelog
Version: 0.4.1
Bug fixes in template files:- Fixed import bugs in templates.
Version: 0.4
Main functionality and bug fixes:- Main functionality of generator works.
- Generate files with standard or basic folder structure.
- Autowiring when all files are selected for generation.
- Bugfixes*
Version: 0.3
Updates and bugfixes:- Handled KeyboardInterrupt Exceptions
- Added more checks for checkboxes
- Added controller-type key so user can choose between @Controller and @RestController
- Bugfixes
Version: 0.2
Feature release:- Added SpringInitializr
- Maven is only supported for now, Gradle support will come in future relases
Version: 0.1.2
Windows:- Moved from PyInquirer(not in development) to questionary , error was still appearing in CommandPrompt
- Founded out that everything works in Cmder when started in bash
- Should be tested more on Windows
- changed prompt_toolkit version to 3.0.2
Version: 0.1.1
Windows:- Error in CommandPrompt with prompt_toolkit (Exception: NoConsoleScreenBufferError), tried with version <=2.0,
error was still appearing
Packages
Package | Link | Description |
---|---|---|
questionary | @tmbo/questionary | An easy to use python library to build pretty command line user prompts |
jinja2 | @noirbizarre/jinja2 | Jinja2 is a template engine written in pure Python. |
javalang | @c2nes/javalang | javalang is a pure Python library for working with Java source code |
rich | @willmcgugan/rich | Rich is a Python library for rich text and beautiful formatting in the terminal. |
pyfiglet | @pwaller/pyfiglet | An implementation of figlet written in Python |
pyyaml | @yaml/pyyaml | YAML parser and emitter for Python |
License
Licensed under the MIT License. Copyright 2020 Omar Iriskic
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
springleaf-0.4.1.tar.gz
(392.0 kB
view hashes)
Built Distribution
springleaf-0.4.1-py3-none-any.whl
(194.8 kB
view hashes)
Close
Hashes for springleaf-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237dc5819c198d28ce8456310880e37f21c0f19c1c92f52e28f77a9a6e17e1ae |
|
MD5 | c0690fc505b71b8b95e9aff13d57bcbf |
|
BLAKE2b-256 | df797c3a636f843c788d74063735863d03919abf6579446e74a6829cef8564cd |