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

Flow CLI integration module #139

Merged
merged 52 commits into from
Nov 21, 2022
Merged

Flow CLI integration module #139

merged 52 commits into from
Nov 21, 2022

Conversation

sideninja
Copy link
Collaborator

@sideninja sideninja commented Nov 11, 2022

Create and improve the Go module used to be integrated in other tools such as Flow CLI.

Currently implemented functions:

  • Installed - checks if Flowser is already installed
  • Install - installs Flowser in provided or default directory
  • Run - opens a temporary Flowser project located at the provided path
  • Remove - remove Flowser app

@sideninja sideninja self-assigned this Nov 11, 2022
sideninja and others added 3 commits November 14, 2022 12:38
# Conflicts:
#	frontend/src/components/navigation/Navigation.tsx
#	frontend/src/targets/electron/backend.ts
#	frontend/src/targets/electron/main.ts
@bartolomej bartolomej self-requested a review November 15, 2022 14:09
bartolomej
bartolomej previously approved these changes Nov 15, 2022
bartolomej
bartolomej previously approved these changes Nov 18, 2022
pkg/flowser/app.go Outdated Show resolved Hide resolved
projectPath = fmt.Sprintf("--project-path=%s", projectPath)
}

return exec.
Copy link
Member

Choose a reason for hiding this comment

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

I noticed that the child process (Flowser) keeps running on Windows after you kill the parent (go program).

I'm not sure why that's the case, but it seems to be the default behavior on Windows. Here is the orphan process info:
image

Copy link
Member

Choose a reason for hiding this comment

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

This is probably not the highest priority, so we can fix this at some later point.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Very good point!

pkg/flowser/app.go Outdated Show resolved Hide resolved
pkg/flowser/app.go Show resolved Hide resolved
@sideninja sideninja merged commit 0917f3b into main Nov 21, 2022
@sideninja sideninja deleted the flow_cli_module branch November 21, 2022 16:16
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

2 participants