Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Oct 15, 2024
1 parent c4c21f4 commit d8e9443
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,22 @@ That's it. Whenever there's a new version you simply run the command and you can

Introduced in **1.0.0** a new way to build PowerShell module based on DSL language.

```powershell
New-PrepareModule -ModuleName "YourModule" -Path "C:\DirectoryWhereTheModuleWillBeCreated"
```

Once run the script will precrate the module folder with nessecary fies

![NewPrepareModule](https://raw.githubusercontent.com/EvotecIT/PSPublishModule/refs/heads/master/Docs/Images/NewPrepareModule.png)

The structure of the module has all the basics that are required to start building the module. The module is ready to be built and published.

![NewPrepareModuleStructure](https://raw.githubusercontent.com/EvotecIT/PSPublishModule/refs/heads/master/Docs/Images/NewPrepareModule1.png)

The configuration example below shows how PSPublishModule is built internally. It's a good starting point for building your own module.
You can also look at the `Examples` and `Build` folders in this repository to see how it's used in real life.
Additionally all Evotec projects use this, so you can look at any of them to see how it's used.

```powershell
Build-Module -ModuleName 'PSPublishModule' {
# Usual defaults as per standard module
Expand Down

0 comments on commit d8e9443

Please sign in to comment.