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

CLI Logic Functions - Deploy #699

Merged
merged 7 commits into from Dec 13, 2023

Conversation

keeramis
Copy link
Contributor

@keeramis keeramis commented Dec 13, 2023

Description

Implements the deploy functionality.

Removes saving the Logic Function to a logic-function-directory and saves them directly in the CWD.
- Does NOT do current-working-directory/LF/LF.json
- Does current-working-directory/LF.json

How to Test

  • Create a Logic Function using particle lf create
  • Deploy the Logic Function using particle lf deploy

Related Issues / Discussions

https://app.shortcut.com/particle/story/123398/implement-deploy-command

Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA
  • Problem and solution clearly stated
  • Tests have been provided
  • Docs have been updated
  • CI is passing

@keeramis keeramis requested review from hugomontero and monkbroc and removed request for monkbroc and hugomontero December 13, 2023 02:42
@keeramis keeramis changed the base branch from master to feature/logic-function December 13, 2023 02:58
@keeramis keeramis marked this pull request as ready for review December 13, 2023 16:02
@@ -340,7 +338,7 @@ describe('LogicFunctionCommands', () => {

const paths = ['dir/', 'dir/path/to/file'];
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be good to change this since paths[0] is not being used anymore, maybe you just need to define a jsonPath field and pass it to your function (will be more clean and clear)

@keeramis keeramis merged commit 31d8e4b into feature/logic-function Dec 13, 2023
5 checks passed
@monkbroc monkbroc deleted the feature/sc-123398/deploy branch January 19, 2024 19:42
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.

None yet

3 participants