Skip to content

Commit 857f78d

Browse files
committed
📄Add info about GitHub Action and AnyPackage
1 parent 398998f commit 857f78d

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

README.MD

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,27 @@ Get-Help Install-ModuleFast -Full
3232
This syntax allows you to both load and invoke Install-Modulefast. Any additional arguments you pass to the command are the same as if you provided them as arguments to Install-ModuleFast. The module will automatically unload upon completion.
3333

3434
```powershell
35-
& ([scriptblock]::Create((iwr 'bit.ly/modulefast'))) ImportExcel
35+
& ([scriptblock]::Create((iwr 'bit.ly/modulefast'))) -Specification ImportExcel
3636
```
3737

3838
The bit.ly link will always point to the latest release of ModuleFast by default. In order to avoid breaking changes, you can pin to a specific GitHub release. This is recommended when using CI systems such as GitHub Actions to install dependencies but is generally not needed on an interactive basis.
3939

4040
```powershell
41-
& ([scriptblock]::Create((iwr 'bit.ly/modulefast'))) -Release 'v0.1.2' ImportExcel
41+
& ([scriptblock]::Create((iwr 'bit.ly/modulefast'))) -Release 'v0.2.0' -Specification ImportExcel
42+
```
43+
44+
### GitHub Action
45+
46+
ModuleFast provides a [GitHub Action](https://github.com/marketplace/actions/modulefast). Details for usage are on the GitHub Marketplace page.
47+
48+
### AnyPackage
49+
50+
ModuleFast is supported with [AnyPackage](https://github.com/anypackage/anypackage), a cross-platform PowerShell unified package management interface. Shorthand specifications are supported. More information is available on the provider page.
51+
52+
```powershell
53+
& ([scriptblock]::Create((iwr 'bit.ly/modulefast'))) -Specification AnyPackage.ModuleFast
54+
Import-Module AnyPackage.ModuleFast
55+
AnyPackage\Install-Package -provider ModuleFast -Name 'ImportExcel<4','Pester<4'
4256
```
4357

4458
### ModuleSpecification Install

images/README/image.png

1.71 KB
Loading

0 commit comments

Comments
 (0)