Add messages about powershell ebook after generating a PowerShell client (#8951)

* add message about powershell ebook

* change spacing
This commit is contained in:
William Cheng 2021-03-12 10:02:57 +08:00 committed by GitHub
parent 604e141bf6
commit ff55bf11e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1313,4 +1313,16 @@ public class PowerShellClientCodegen extends DefaultCodegen implements CodegenCo
return null; return null;
} }
@Override
public void postProcess() {
System.out.println("################################################################################");
System.out.println("# Thanks for using OpenAPI Generator. #");
System.out.println("# Please consider donation to help us maintain this project \uD83D\uDE4F #");
System.out.println("# https://opencollective.com/openapi_generator/donate #");
System.out.println("# #");
System.out.println("# This generator has been refactored by wing328 (https://github.com/wing328) #");
System.out.println("# Please support his work directly by purchasing a copy of the eBook \ud83d\udcd8 #");
System.out.println("# - OpenAPI Generator for PowerShell Developers https://bit.ly/3qBWfRJ #");
System.out.println("################################################################################");
}
} }