Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pgebert/powershell-gradle-spring-boot-aliases

:octocat: Powershell aliases for spring boot projects build with gradle.
https://github.com/pgebert/powershell-gradle-spring-boot-aliases

aliases gradle java kotlin powershell spring-boot

Last synced: 1 day ago
JSON representation

:octocat: Powershell aliases for spring boot projects build with gradle.

Awesome Lists containing this project

README

        

# Gradle Spring Boot aliases for PowerShell
[![license](https://img.shields.io/github/license/pgebert/powershell-gradle-spring-boot-aliases.svg?style=flat-square)](./LICENSE)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/v/gradle-spring-boot-aliases.svg?style=flat-square)](https://www.powershellgallery.com/packages/gradle-spring-boot-aliases/)
[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/gradle-spring-boot-aliases.svg?style=flat-square)](https://www.powershellgallery.com/packages/gradle-spring-boot-aliases/)

A [PowerShell](https://microsoft.com/powershell) module that provides aliases for the most common commands for [Spring Boot](https://spring.io/projects/spring-boot) projects build with [Gradle](https://docs.gradle.org/).

> ℹī¸ This module will replace some built-in PowerShell aliases with our Gradle Spring Boot aliases to **prevent** conflicts.

## đŸ’ģ Prerequisite

✔ Spring Boot project build with [Gradle](https://docs.gradle.org/)

## ⚙ī¸ Installation

Install from [PowerShell Gallery](https://www.powershellgallery.com/packages/gradle-spring-boot-aliases/) using the following powershell command:

```powershell
Install-Module gradle-spring-boot-aliases -Scope CurrentUser -AllowClobber
```

Add below command into your `PowerShell profile` file:

```powershell
Import-Module gradle-spring-boot-aliases -DisableNameChecking
```

Restart your powershell and now you can use gradle-spring-boot aliases. 🚀

## 👉 Additional notes

If you haven't allowed script execution policy, set your script execution policy to `RemoteSigned` or `Unrestricted`.

```powershell
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
```

If you don't have PowerShell profile yet, create it with below command!

```powershell
New-Item -ItemType File $profile
```

## 🚀 Supported Aliases

The following aliases are currently implemented:

| Alias | Command |
|--------|--------------------|
| `gw` | `gradlew` |
| `gwa` | `gradlew assemble` |
| `gwb` | `gradlew build` |
| `gwc` | `gradlew clean` |
| `gwr` | `gradlew bootRun` |
| `gwt` | `gradlew allTests` |
| `gwst` | `gradlew --status` |

# Miscellaneous

## 🤝 Contributing

Contributions, [issues](https://github.com/pgebert/powershell-gradle-spring-boot-aliases/issues) and feature requests are welcome!

## Show your support

Give a ⭐ī¸ if this project helped you!

## 📝 License

Copyright Š 2023 [pgebert](https://github.com/pgebert).
This project is licensed under [MIT](./LICENSE).