Skip to content

Conversation

@denismakogon
Copy link
Member

Extracting deploy core API to make it reusable outside of the Fn CLI.

Deploy API is quite useful, however, it appeared to be very coupled with the existing CLI framework.
This PR extracts core methods: DeployAll and DeploySingle that may be used to deploy the whole application or a single function.

 - Why? DeployAll is the exact method that encapsulates a lot of useful logic and can be
   reused to run the deploy against a folder within other tools.
 - extracting DeploySingle core API method
…nfig

 DeployConfig represents a set of CLI args (deploy parameters) that are used for "fn deploy"

 DeployConfig makes method signatures shorter and simpler to read and work with
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant