Skip to content

Commit

Permalink
Fix platyps bug, see PowerShell/platyPS#595
Browse files Browse the repository at this point in the history
  • Loading branch information
connorcarnes committed Feb 13, 2024
1 parent ed4e479 commit b4ad217
Show file tree
Hide file tree
Showing 14 changed files with 182 additions and 36 deletions.
3 changes: 1 addition & 2 deletions docs/Get-CFAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -89,4 +89,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
[https://developers.cloudflare.com/api/operations/accounts-list-accounts](https://developers.cloudflare.com/api/operations/accounts-list-accounts)
[https://developers.cloudflare.com/api/operations/accounts-account-details](https://developers.cloudflare.com/api/operations/accounts-account-details)
9 changes: 5 additions & 4 deletions docs/Get-CFD1Database.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ Gets Cloudflare D1 database(s).

### AccountId
```
Get-CFD1Database [-Name <String>] [-Id <String>] -AccountId <String> [<CommonParameters>]
Get-CFD1Database [-Name <String>] [-Id <String>] -AccountId <String>
[<CommonParameters>]
```

### AccountName
```
Get-CFD1Database [-Name <String>] [-Id <String>] -AccountName <String> [<CommonParameters>]
Get-CFD1Database [-Name <String>] [-Id <String>] -AccountName <String>
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -114,7 +116,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -135,4 +137,3 @@ This is done so that the same output is returned regardless of parameters used.
[https://developers.cloudflare.com/api/operations/cloudflare-d1-list-databases](https://developers.cloudflare.com/api/operations/cloudflare-d1-list-databases)
[https://developers.cloudflare.com/api/operations/cloudflare-d1-get-database](https://developers.cloudflare.com/api/operations/cloudflare-d1-get-database)
6 changes: 3 additions & 3 deletions docs/Get-CFZone.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Retrieves information about a Cloudflare zone.
## SYNTAX

```
Get-CFZone [[-ZoneName] <String>] [[-ZoneID] <String>] [<CommonParameters>]
Get-CFZone [[-ZoneName] <String>] [[-ZoneID] <String>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -69,7 +70,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -82,4 +83,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/api/operations/zones-get](https://developers.cloudflare.com/api/operations/zones-get)
3 changes: 1 addition & 2 deletions docs/Get-CFZoneRecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -89,4 +89,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-list-dns-records](https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-list-dns-records)
3 changes: 1 addition & 2 deletions docs/Invoke-CFD1Query.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -162,4 +162,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
[https://developers.cloudflare.com/d1/platform/client-api](https://developers.cloudflare.com/d1/platform/client-api)
[https://developers.cloudflare.com/d1/learning/querying-json/](https://developers.cloudflare.com/d1/learning/querying-json/)
3 changes: 1 addition & 2 deletions docs/New-CFD1Database.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -102,4 +102,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/api/operations/cloudflare-d1-create-database](https://developers.cloudflare.com/api/operations/cloudflare-d1-create-database)
3 changes: 1 addition & 2 deletions docs/New-CFZoneRecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -170,4 +170,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-create-dns-record](https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-create-dns-record)
9 changes: 5 additions & 4 deletions docs/Remove-CFD1Database.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ Deletes a Cloudflare D1 database.

### AccountId
```
Remove-CFD1Database [-Name <String>] [-Id <String>] [-AccountId <String>] [<CommonParameters>]
Remove-CFD1Database [-Name <String>] [-Id <String>] [-AccountId <String>]
[<CommonParameters>]
```

### AccountName
```
Remove-CFD1Database [-Name <String>] [-Id <String>] [-AccountName <String>] [<CommonParameters>]
Remove-CFD1Database [-Name <String>] [-Id <String>] [-AccountName <String>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -104,7 +106,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -117,4 +119,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/api/operations/cloudflare-d1-delete-database](https://developers.cloudflare.com/api/operations/cloudflare-d1-delete-database)
9 changes: 5 additions & 4 deletions docs/Remove-CFZoneRecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ Removes a DNS record from a Cloudflare zone.

### ZoneId
```
Remove-CFZoneRecord -ZoneId <String> -RecordId <String> [<CommonParameters>]
Remove-CFZoneRecord -ZoneId <String> -RecordId <String>
[<CommonParameters>]
```

### ZoneName
```
Remove-CFZoneRecord -ZoneName <String> -RecordId <String> [<CommonParameters>]
Remove-CFZoneRecord -ZoneName <String> -RecordId <String>
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -91,7 +93,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -103,4 +105,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-delete-dns-record](https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-delete-dns-record)
9 changes: 5 additions & 4 deletions docs/Set-CFZoneRecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ Updates a DNS record for a Cloudflare zone.
### ZoneId
```
Set-CFZoneRecord -RecordId <String> -ZoneId <String> [-Content <String>] [-Name <String>] [-Type <String>]
[-TTL <Int32>] [-Proxied <Boolean>] [-Priority <Int32>] [<CommonParameters>]
[-TTL <Int32>] [-Proxied <Boolean>] [-Priority <Int32>]
[<CommonParameters>]
```

### ZoneName
```
Set-CFZoneRecord -RecordId <String> -ZoneName <String> [-Content <String>] [-Name <String>] [-Type <String>]
[-TTL <Int32>] [-Proxied <Boolean>] [-Priority <Int32>] [<CommonParameters>]
[-TTL <Int32>] [-Proxied <Boolean>] [-Priority <Int32>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -177,7 +179,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -190,4 +192,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-patch-dns-record](https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-patch-dns-record)
9 changes: 5 additions & 4 deletions docs/Set-CloudflareSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Configures authentication for the Cloudflare API using an API token, legacy auth

### SessionOnly (Default)
```
Set-CloudflareSession [-Email <String>] [-ApiKey <String>] [-ApiToken <String>] [<CommonParameters>]
Set-CloudflareSession [-Email <String>] [-ApiKey <String>] [-ApiToken <String>]
[<CommonParameters>]
```

### SaveToFile
Expand All @@ -25,7 +26,8 @@ Set-CloudflareSession [-Email <String>] [-ApiKey <String>] [-ApiToken <String>]

### ImportFromFile
```
Set-CloudflareSession [-ImportFromFile] [-FilePath <String>] [<CommonParameters>]
Set-CloudflareSession [-ImportFromFile] [-FilePath <String>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -174,7 +176,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -186,4 +188,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/fundamentals/api/](https://developers.cloudflare.com/fundamentals/api/)
6 changes: 3 additions & 3 deletions docs/Test-CloudflareSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Test-CloudflareSession [-Session <WebRequestSession>] [<CommonParameters>]

### NewSession
```
Test-CloudflareSession [-Email <String>] [-ApiKey <String>] [-ApiToken <String>] [<CommonParameters>]
Test-CloudflareSession [-Email <String>] [-ApiKey <String>] [-ApiToken <String>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -107,7 +108,7 @@ Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
Expand All @@ -119,4 +120,3 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
## RELATED LINKS
[https://developers.cloudflare.com/fundamentals/api/](https://developers.cloudflare.com/fundamentals/api/)
Loading

0 comments on commit b4ad217

Please sign in to comment.