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

Use puppeteer for app from CLI #1674

Merged
merged 3 commits into from
Dec 14, 2021
Merged

Use puppeteer for app from CLI #1674

merged 3 commits into from
Dec 14, 2021

Conversation

texodus
Copy link
Member

@texodus texodus commented Dec 14, 2021

Uses the puppeteer package's convenient chrome/chromium resolution to provide an app-like container for perspective-cli. You can now do this:

$ npm install -g @finos/perspective-cli
$ perspective host ./superstore.csv --open

You'll get a nice electron-ish looking app, a chrome or chromium running in incognito mode/app mode, which closes when the page itself is closed.

@texodus texodus merged commit 5b04783 into master Dec 14, 2021
@texodus texodus deleted the psp-app branch December 14, 2021 15:59
@texodus texodus added the enhancement Feature requests or improvements label Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant