keystone
keystone copied to clipboard
enable export of cli from keystone
this lets me run keystone programmatically from another nodejs app
import { cli } from '@keystone-next/keystone/scripts/cli';
🦋 Changeset detected
Latest commit: 9036f5e25fc100405254418c7d690098d18dfac6
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @keystone-6/core | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/3X82CrpEC67uVgTVk77Xf5qbcXYH
✅ Preview: https://keystone-next-docs-git-fork-gautamsi-export-cli-keystonejs.vercel.app
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 9036f5e25fc100405254418c7d690098d18dfac6:
| Sandbox | Source |
|---|---|
| @keystone-6/sandbox | Configuration |
It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)
@gautamsi could you rebase this? LGTM
@dcousens done. also added changeset.
@gautamsi is there a particular reason spawning a CLI process wasn't the preferred approach to the problem that I assume this is trying to resolve?
I was trying to run it programmatically when embedded inside the ElectronJS. When it is inside packed archive it does have lot of problems when accessing various directories if I try to run this by spawning new/child process. I have tested by exporting cli and it worked.
@dcousens should we close this?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| keystone-next-docs | ✅ Ready (Inspect) | Visit Preview | Aug 16, 2022 at 2:51AM (UTC) |