MCPcopy Create free account
hub / github.com/Scalingo/cli / lookupDeployReviewApps

Method lookupDeployReviewApps

integrationlink/params.go:53–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (p *paramsChecker) lookupDeployReviewApps() *bool {
54 if p.c.IsSet("deploy-review-apps") {
55 return utils.BoolPtr(true)
56 }
57 if p.c.IsSet("no-deploy-review-apps") {
58 return utils.BoolPtr(false)
59 }
60 return nil
61}
62
63func (p *paramsChecker) lookupDestroyOnClose() *bool {
64 if p.c.IsSet("destroy-on-close") {

Callers 1

CheckAndFillParamsFunction · 0.80

Calls 1

BoolPtrFunction · 0.92

Tested by

no test coverage detected