Skip to content

feat: add new commands for completion and migration in pipectl - #6751

Open
vedantlavale wants to merge 11 commits into
pipe-cd:masterfrom
vedantlavale:fix-pipectl-cli-docs
Open

vedantlavale wants to merge 11 commits into
pipe-cd:masterfrom
vedantlavale:fix-pipectl-cli-docs

Conversation

@vedantlavale

Copy link
Copy Markdown

Summary

Updates the pipectl CLI documentation in docs-dev and docs-v1.0.x to match the current source code.

Changes

  • Removes pipectl init from the "Available Commands" help output (command was removed in Remove pipectl init command #5958)
  • Adds completion, migrate, and plugin to the "Available Commands" help output
  • Removes the "Generating an application config" section documenting the removed pipectl init command
  • Adds a new "Migrating application configs and database" section documenting:
    • pipectl migrate application-config
    • pipectl migrate database
  • Adds a new "Pushing a plugin" section documenting pipectl plugin push

Why we need it

pipectl init was removed from the codebase but is still documented as an available command. Users following the official documentation currently hit a dead end.

At the same time, pipectl migrate (the replacement workflow) and pipectl plugin push already exist in the source code but are undocumented, making them difficult for users and plugin authors to discover.

Which issue(s) this PR fixes

Closes: #6750

Does this PR introduce a user-facing change?

How are users affected by this change

CLI documentation now accurately reflects the currently available commands. Users can discover and use pipectl migrate and pipectl plugin push through the official docs.

Is this a breaking change?

No

How to migrate (if breaking change)

N/A

Signed-off-by: vedantlavale <vedantlavale@gmail.com>
Copilot AI review requested due to automatic review settings May 8, 2026 10:51
@vedantlavale
vedantlavale requested review from a team as code owners May 8, 2026 10:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the pipectl CLI user guide docs to reflect current commands, removing references to the deprecated init workflow and documenting newer migrate and plugin functionality.

Changes:

  • Updates “Available Commands” to remove init and add completion, migrate, and plugin
  • Replaces the removed pipectl init documentation with pipectl migrate documentation (application-config + database)
  • Adds documentation for pipectl plugin push

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
docs/content/en/docs-v1.0.x/user-guide/command-line-tool.md Updates the documented CLI help output to match current commands
docs/content/en/docs-dev/user-guide/command-line-tool.md Updates command list and replaces init docs with migrate and plugin push documentation

Comment thread docs/content/en/docs-v1.0.x/user-guide/command-line-tool.md
Comment thread docs/content/en/docs-dev/user-guide/command-line-tool.md
Comment thread docs/content/en/docs-dev/user-guide/command-line-tool.md Outdated
Comment thread docs/content/en/docs-dev/user-guide/command-line-tool.md Outdated
Comment thread docs/content/en/docs-dev/user-guide/command-line-tool.md Outdated
@vedantlavale

Copy link
Copy Markdown
Author

@khanhtc1202 , @rahulshendre , @Ayushmore1214 hey, could someone take a look at this when free?
fixed some outdated pipectl docs and added docs for a couple missing commands

@rahulshendre

rahulshendre commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

Hey @vedantlavale, sorry for the delay, we missed this earlier.

Please have a look at this comment - here. Let's discuss more of the changes needed in the docs with the maintainers in the next community meeting before proceeding further.

Since @A-d-i-t-y is also working in a similar area, it would be great if you both could coordinate on the related changes.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Jul 8, 2026
@vedantlavale

Copy link
Copy Markdown
Author

@rahulshendre @Ayushmore1214 This PR has been approved for a while now and has gone stale. Are we planning to merge it, or is there anything else that needs to be addressed from my side?

@github-actions github-actions Bot removed the Stale label Jul 9, 2026
@vedantlavale

Copy link
Copy Markdown
Author

@rahulshendre @Ayushmore1214 This PR has been approved for a while now and has gone stale. Are we planning to merge it, or is there anything else that needs to be addressed from my side?

cc @khanhtc1202

@rahulshendre rahulshendre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @vedantlavale, sorry this sat so long, overall LGTM

v0.57 tag and pipectl is the same CLI across versions (migrate, plugin, transfer all there, init already gone)
so the command reference should really match across docs-dev, docs-v1.0.x and docs-v0.57.x, and right now it's out of sync

also transfer is missing from the available commands list, and it's not in docs-dev either, so that needs adding too

just the command sections though, no need to copy the whole page across. once those match I think it's good to go : )

See [Feature Status](../feature-status/_index.md#pipectl-init).
The `--files` flag maps platforms to binary files in `os/arch=filepath` format. All of `--files`, `--tag`, `--registry`, and `--repository` are required. Add `--insecure` to skip TLS verification when using an HTTP-only registry.

### You want more?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sounds too informal. Please fix.

@eeshaanSA eeshaanSA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, good work @vedantlavale. Thanks for this. Just fix the comment and I think it is good to go.

@eeshaanSA

Copy link
Copy Markdown
Contributor

Also, just realised, the transfer command is missing, as @rahulshendre pointed out. Please take a look at this file to better understand how pipectl works.

@vedantlavale

Copy link
Copy Markdown
Author

yeah sure!

@rahulshendre

Copy link
Copy Markdown
Contributor

@vedantlavale any updates on this one 👀

@vedantlavale

Copy link
Copy Markdown
Author

@rahulshendre hey yes, on it. missed the notifs

@vedantlavale
vedantlavale force-pushed the fix-pipectl-cli-docs branch from b08e88a to 93c7b2b Compare August 2, 2026 12:38
@vedantlavale

Copy link
Copy Markdown
Author

@rahulshendre done, can you check it. and lmk if any changes

@codecov

codecov Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.46%. Comparing base (5edb3b6) to head (6691f26).
⚠️ Report is 157 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6751      +/-   ##
==========================================
+ Coverage   29.51%   38.46%   +8.94%     
==========================================
  Files         601       12     -589     
  Lines       64336      663   -63673     
==========================================
- Hits        18987      255   -18732     
+ Misses      43869      392   -43477     
+ Partials     1480       16    -1464     
Flag Coverage Δ
. ?
.-pkg-app-pipedv1-plugin-analysis ?
.-pkg-app-pipedv1-plugin-ecs ?
.-pkg-app-pipedv1-plugin-kubernetes ?
.-pkg-app-pipedv1-plugin-kubernetes_multicluster ?
.-pkg-app-pipedv1-plugin-scriptrun ?
.-pkg-app-pipedv1-plugin-terraform 38.46% <ø> (ø)
.-pkg-app-pipedv1-plugin-wait ?
.-pkg-app-pipedv1-plugin-waitapproval ?
.-pkg-plugin-sdk ?
.-tool-actions-gh-release ?
.-tool-actions-plan-preview ?
.-tool-codegen-protoc-gen-auth ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Sep 12, 2026
@vedantlavale

Copy link
Copy Markdown
Author

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@rahulshendre can we get this to merge?

@netlify

netlify Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pipecd-site ready!

Name Link
🔨 Latest commit 3994593
🔍 Latest deploy log https://app.netlify.com/projects/pipecd-site/deploys/6aa4da0d87d412000867a371
😎 Deploy Preview https://deploy-preview-6751--pipecd-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot removed the Stale label Sep 13, 2026
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.

Command-line tool: pipectl CLI docs reference removed pipectl init command, missing migrate and plugin

4 participants