From 97542ad9e14a21be4a9d7c53f06f57bca2f0f03e Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Tue, 12 Nov 2024 16:07:09 -0500 Subject: [PATCH] update readme with information on substreams registry login and substreams registry publish --- common-templates/README.md.gotmpl | 4 +++- convo.go | 4 +++- evm-events-calls/convo_test.go | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/common-templates/README.md.gotmpl b/common-templates/README.md.gotmpl index d352bca..43a1762 100644 --- a/common-templates/README.md.gotmpl +++ b/common-templates/README.md.gotmpl @@ -6,7 +6,9 @@ This template holds chunks of common README.md ```bash substreams build substreams auth -substreams gui +substreams gui # Get streaming! +substreams registry login # Login to substreams.dev +substreams registry publish # Publish your Substreams to substreams.dev ``` {{- end }} diff --git a/convo.go b/convo.go index c588455..30e2cc4 100644 --- a/convo.go +++ b/convo.go @@ -70,7 +70,9 @@ func (c *Conversation[X]) CmdDownloadFiles(msg ReturnGenerate) loop.Cmd { `+"```"+`bash substreams build substreams auth -substreams gui # Get streaming! +substreams gui # Get streaming! +substreams registry login # Login to substreams.dev +substreams registry publish # Publish your Substreams to substreams.dev `+"```"+` Build Subgraphs and other sinks with: diff --git a/evm-events-calls/convo_test.go b/evm-events-calls/convo_test.go index d29173b..78e2f4c 100644 --- a/evm-events-calls/convo_test.go +++ b/evm-events-calls/convo_test.go @@ -142,6 +142,8 @@ func TestConvoUpdate(t *testing.T) { msg1 := seq[1]().(*pbconvo.SystemOutput) assert.Contains(t, msg1.GetMessage().Markdown, "substreams build\nsubstreams auth\nsubstreams gui") + assert.Contains(t, msg1.GetMessage().Markdown, "substreams registry login") + assert.Contains(t, msg1.GetMessage().Markdown, "substreams registry publish") //msg2 := seq[1]().(*pbconvo.SystemOutput) //assert.NotNil(t, msg2.GetDownloadFiles()) //