Comments (1)
The module was written with the expectation that the documented defaults in the API would not change. In this instance, the default for these is to allow squash merge, merge commit and rebase merge. Therefore, they were named to allow you to quickly and easily indicate the opposite.
For switches (which you referred to as flags), the PowerShell way of explicitly indicating the opposite is to specify them with $false
, e.g.:
-DisallowSquashMerge:$false
Given that there are API defaults for these values, it's by design that we're not adding their values to the submission body when not specified.
from powershellforgithub.
Related Issues (20)
- API Coverage: Add Support for Deployment Environments
- Get-GitHubRepositoryLanguage for multiple repos? HOT 5
- Missing contributors from Get-GitHubRepositoryContributor
- Missing Org Role information from Get-GitHubOrganizationMember HOT 1
- Get-GitHubUser fails HOT 3
- PSProvider for GitHub
- Get-GitHubOrganizationMember does not use DefaultOwnerName
- GitHubRepositories: Unit Tests are Failing when Checking for `has_wiki` on Private Repositories
- Add support for authentication with JWT HOT 2
- API Coverage: Add Support for Codespaces HOT 1
- Exported functions not behaving correctly with -ErrorAction SilentlyContinue HOT 3
- Get-GitHubIssue commands different output
- Add additional filtering parameters to Get-GitHubPullRequest
- Reliance on BinaryFormatter breaks module with PowerShell 7.4.0-preview.4 HOT 5
- telemetry error HOT 3
- telemetry error HOT 1
- Powershell core on linux HOT 2
- Get-GithubRepository doesn't appear to honor ErrorAction inside a a try/catch HOT 1
- Encountered a problem while trying to record telemetry events
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershellforgithub.