Skip to content

feat(pipectl): add application enable command#7040

Open
Ahmad-Faraj wants to merge 1 commit into
pipe-cd:masterfrom
Ahmad-Faraj:feat/pipectl-application-enable
Open

feat(pipectl): add application enable command#7040
Ahmad-Faraj wants to merge 1 commit into
pipe-cd:masterfrom
Ahmad-Faraj:feat/pipectl-application-enable

Conversation

@Ahmad-Faraj

Copy link
Copy Markdown
Contributor

What this PR does:

Adds an application enable command to pipectl.

Why we need it:

An application disabled with pipectl can only be enabled back from the web UI. The API already has EnableApplication, only the CLI command was missing.

Which issue(s) this PR fixes:

None

Does this PR introduce a user-facing change?:

  • How are users affected by this change: pipectl application enable is available to enable a disabled application.
  • Is this breaking change: No
  • How to migrate (if breaking change): Nothing

@Ahmad-Faraj
Ahmad-Faraj requested a review from a team as a code owner July 16, 2026 13:45
Copilot AI review requested due to automatic review settings July 16, 2026 13:45
@Ahmad-Faraj
Ahmad-Faraj requested a review from a team as a code owner July 16, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds pipectl application enable to let users re-enable applications from the CLI (using the existing EnableApplication API), removing the need to use the web UI for this workflow.

Changes:

  • Add a new application enable subcommand that calls apiservice.EnableApplication.
  • Register the new subcommand under pipectl application.
  • Document the new command in the CLI user guide.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pkg/app/pipectl/cmd/application/enable.go Adds the new enable subcommand implementation calling EnableApplication.
pkg/app/pipectl/cmd/application/application.go Registers newEnableCommand under the application command.
docs/content/en/docs-dev/user-guide/command-line-tool.md Documents usage of pipectl application enable.

Comment thread pkg/app/pipectl/cmd/application/enable.go Outdated
Signed-off-by: Ahmad Faraj <ahmedfrag4040@gmail.com>
@Ahmad-Faraj
Ahmad-Faraj force-pushed the feat/pipectl-application-enable branch from 64f4057 to 41f1086 Compare July 16, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants