Skip to content

How to regenerate scaffolding? #2864

Closed Answered by camilamacedo86
rumstead asked this question in Support
Discussion options

You must be logged in to vote

All commands executed with the tool (data) are tracked in the PROJECT file.
(ihmo) it would be desirable to have a command that re-scaffolds all based on that so it could help in the migration process ( like I want to upgrade my project to the latest versions changes )

We would have an alpha command to try to make it where we could inform via a flag the PROJECT file and the --plugins which we would like to use to do the re-scaffold. Then it would mean for example:

$ kubebuilder alpha scaffold --project-config= --plugins=go/v4,grafana/alphav1 --output=path

That would result in:
-> create a directory with the project name
-> call the tool to init the project with the plugins --plugins=go/v4…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@rumstead
Comment options

@camilamacedo86
Comment options

@rumstead
Comment options

@camilamacedo86
Comment options

Answer selected by rumstead
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants