Skip to content

OMKE/SpringLeaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Leaf

version license Supported Python Versions

🍃 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 Mapper classes out of Entity model
  • Initializing new Spring Boot project with SpringInitializr - Maven, Gradle (not yet supported)

Usage

Setup

How to set-up initial configuration file for your preference.

Code generation

How to generate files.

SpringInitializr

How to create new SpringBoot project.

  • @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