@secondlayer/cli 7.0.0 → 7.0.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/dist/cli.js +4 -4
- package/dist/cli.js.map +6 -6
- package/package.json +1 -1
- package/templates/subscriptions/cloudflare/README.md +1 -1
- package/templates/subscriptions/node/README.md +1 -1
- package/templates/subscriptions/node/src/index.ts +1 -1
- package/templates/subscriptions/trigger/README.md +1 -1
package/dist/cli.js
CHANGED
|
@@ -32354,7 +32354,7 @@ var {
|
|
|
32354
32354
|
// package.json
|
|
32355
32355
|
var package_default = {
|
|
32356
32356
|
name: "@secondlayer/cli",
|
|
32357
|
-
version: "7.0.
|
|
32357
|
+
version: "7.0.1",
|
|
32358
32358
|
repository: {
|
|
32359
32359
|
type: "git",
|
|
32360
32360
|
url: "git+https://github.com/ryanwaits/secondlayer.git",
|
|
@@ -35676,8 +35676,8 @@ function registerSubgraphsCommand(program2) {
|
|
|
35676
35676
|
const subgraphs = program2.command("subgraphs").description("Manage materialized subgraphs");
|
|
35677
35677
|
subgraphs.command("create <name>").description("Create a new subgraph definition file").option("--template <slug>", `Foundation Dataset starter (one of: ${SUBGRAPH_TEMPLATE_SLUGS.join(", ")})`).addHelpText("after", `
|
|
35678
35678
|
Examples:
|
|
35679
|
-
$ sl subgraphs
|
|
35680
|
-
$ sl subgraphs
|
|
35679
|
+
$ sl subgraphs create my-graph
|
|
35680
|
+
$ sl subgraphs create token-balances --template sip-010-balances`).action(async (name, opts) => {
|
|
35681
35681
|
const slug = opts.template ?? "basic";
|
|
35682
35682
|
if (!SUBGRAPH_TEMPLATE_SLUGS.includes(slug)) {
|
|
35683
35683
|
error(`Unknown template "${opts.template}". Available templates:
|
|
@@ -38043,5 +38043,5 @@ program.commandsGroup("Account:");
|
|
|
38043
38043
|
registerAccountCommand(program);
|
|
38044
38044
|
program.parse();
|
|
38045
38045
|
|
|
38046
|
-
//# debugId=
|
|
38046
|
+
//# debugId=6F90B87BC541369064756E2164756E21
|
|
38047
38047
|
//# sourceMappingURL=cli.js.map
|