Skip to content

Commit

Permalink
Add NuGet (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto authored Dec 2, 2024
1 parent 0d6b7ec commit bc5ffbb
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/provider-catalog/nuget/AnyPackage.NuGet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
Module Name: AnyPackage.NuGet
Module Guid: df399e6f-5c6e-4f6c-8a18-b278ff74f1e7
Download Help Link: https://go.anypackage.dev/help
Help Version: 0.1.0.0
Locale: en-US
nav_exclude: true
search_exclude: true
---
69 changes: 69 additions & 0 deletions docs/provider-catalog/nuget/about_NuGet_Provider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: NuGet
parent: Provider Catalog
---

# NuGet_Package_Provider

## about_NuGet_Package_Provider

## Short Description

Provides access to NuGet packages.

## Long Description

The NuGet provider for `AnyPackage` module lets you manage NuGet packages.

The NuGet package provider supports the following cmdlets.

- Find-Package
- Get-Package
- Get-PackageSource
- Install-Package
- Register-PackageSource
- Save-Package
- Set-PackageSource
- Uninstall-Package
- Unregister-PackageSource

## Dynamic Parameters

Dynamic parameters are cmdlet parameters that are added by a package provider
and are available only when `-Provider NuGet` parameter is used.

### DependencyBehavior \<System.String\>

Specifies the dependency resolution behavior when resolving versions. For more
information refer to [dependency resolution] page.

Behaviors supported are:

- Lowest
- HighestPath
- HighestMinor
- Highest

#### Cmdlets Supported

- Install-Package
- Save-Package

### Framework \<System.String\>

Specifies the target framework for use in dependency resolution. For a list of
available frameworks use the [Target Frameworks][framework] page and use the TFM
name.

#### Cmdlets Supported

- Install-Package
- Save-Package

## See Also

- [about_Package_Providers](../../reference/about_Package_Providers.md)
- [about_AnyPackage](../../reference/about_AnyPackage.md)

[framework]: https://learn.microsoft.com/en-us/nuget/reference/target-frameworks
[dependency resolution]: https://learn.microsoft.com/en-us/nuget/concepts/dependency-resolution
2 changes: 2 additions & 0 deletions docs/provider-catalog/provider-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Find-PSResource -Tag AnyPackage, Provider
| Homebrew | AnyPackage.Homebrew | [anypackage/homebrew] |
| ModuleFast | AnyPackage.ModuleFast | [anypackage/modulefast] |
| Msu | AnyPackage.Msu | [anypackage/msu] |
| NuGet | AnyPackage.NuGet | [anypackage/nuget] |
| pkgx | AnyPackage.Pkgx | [anypackage/pkgx] |
| PSResourceGet | AnyPackage.PSResourceGet | [anypackage/psresourceget] |
| Programs | AnyPackage.Programs | [anypackage/programs] |
Expand All @@ -42,6 +43,7 @@ Find-PSResource -Tag AnyPackage, Provider
[anypackage/homebrew]: https://github.com/anypackage/homebrew
[anypackage/modulefast]: https://github.com/anypackage/modulefast
[anypackage/msu]: https://github.com/anypackage/msu
[anypackage/nuget]: https://github.com/anypackage/nuget
[anypackage/pkgx]: https://github.com/anypackage/pkgx
[anypackage/psresourceget]: https://github.com/anypackage/psresourceget
[anypackage/programs]: https://github.com/anypackage/programs
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<HelpInfo xmlns="http://schemas.microsoft.com/powershell/help/2010/05">
<HelpContentURI>https://go.anypackage.dev/help</HelpContentURI>
<SupportedUICultures>
<UICulture>
<UICultureName>en-US</UICultureName>
<UICultureVersion>0.1.0.0</UICultureVersion>
</UICulture>
</SupportedUICultures>
</HelpInfo>
Binary file not shown.
Binary file not shown.

0 comments on commit bc5ffbb

Please sign in to comment.