Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add --dry-run option to cf push (could be reused for plugins like cf bg-deploy as well)

未关闭
#2,162 4 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@gururajsh 已经在做这个了。

开始于 2024年9月20日。

评估

这个 Issue 还没有评估数据。

描述

feature-request

What's the user value of this feature request?
Easy and fast validation of deployments improving developers efficiency/productivity and also reduced human error.

Who is the functionality for?
Everyone using cf on daily basis, especially for learning beginners.

How often will this functionality be used by the user?
Daily

Who else is affected by the change?
Every developer using the CLI to push changes especially to important spaces this would provide security.

Describe the solution you'd like
just add a --dry-run parameter to the cf push command to simulate a push with the specified settings )similar to helm install --dry-run)

Describe alternatives you've considered
0 (the simpler and clearer the solution the better for the users of the CLI)

Additional context
Best practice for deployment in cloud spaces like k8s and helm.
Actually it would be nice for all kinds of deployments to have a --dry-run option consistently across the board.

Note:
As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.

主要语言
Go
星标
1.9k
派生
989
平均合并
1 天 18 小时
30 天内合并 PR
5

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cloudfoundry/cli 的其他 Issue

查看 cloudfoundry/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。