@phantomclient/create-plugin 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # @phantomclient/create-plugin
2
+
3
+ Starts a [Phantom](https://phantm.site) plugin:
4
+
5
+ ```sh
6
+ npm create @phantomclient/plugin@latest
7
+ ```
8
+
9
+ It asks for a name and what the plugin adds, writes the folder, and the plugin is ready for
10
+ `npx phantom-plugin dev`. Guides at https://docs.phantm.site.
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ import { main } from '../dist/index.js';
3
+ main().then((code) => {
4
+ if (code !== undefined) process.exitCode = code;
5
+ });