Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): remove most calls to commandDir #9750

Closed
wants to merge 3 commits into from
Closed

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Dec 24, 2023

In a similar vein to #9746, I was experimenting with bundling the CLI. commandDir was the first thing I ran into. We removed most of them in the past in an effort to speed up the CLI via "just in time" handler imports, but didn't remove them all since others were more difficult than others, and the gains were becoming less apparent.

I've got most of them here in this PR save for generate and destroy which use helpers that are nontrivial to refactor. While the files touched and diffs are large, this PR was mostly just a chore, moving code into different files.

I'm marking this as breaking because I'm removing two deploy providers that we no longer support, edgio and serverless.

@jtoar jtoar added the release:breaking This PR is a breaking change label Dec 24, 2023
@jtoar jtoar added this to the v7.0.0 milestone Dec 24, 2023
@jtoar jtoar requested a review from Josh-Walker-GM December 24, 2023 00:34
@jtoar jtoar added the fixture-ok Override the test project fixture check label Dec 24, 2023
@jtoar jtoar marked this pull request as draft December 24, 2023 09:21
@jtoar
Copy link
Contributor Author

jtoar commented Jan 2, 2024

This needs more work; will re open this when it's actually closer to done.

@jtoar jtoar closed this Jan 2, 2024
@jtoar jtoar deleted the ds-cli/rm-commandDir branch January 3, 2024 15:03
@jtoar jtoar removed this from the v7.0.0 milestone Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixture-ok Override the test project fixture check release:breaking This PR is a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant