graphops / graphcast-cli Goto Github PK
View Code? Open in Web Editor NEWCLI for Graphcast
Home Page: https://docs.graphops.xyz/graphcast/radios/graphcast-cli
License: Apache License 2.0
CLI for Graphcast
Home Page: https://docs.graphops.xyz/graphcast/radios/graphcast-cli
License: Apache License 2.0
Problem statement
After renaming one-shot-cli to graphcast-cli, we can consider a boarder scope for what the CLI can do
Expectation proposal
graphcast send upgradeIntentMessage subgraph_id ...
indexingStatus
from the public status APIs for the new deploymentMigrated from graphops/subgraph-radio#21 by @axiomatic-aardvark
Expectation proposal
We should add a banner to Subgraph Studio that lets subgraph developers know that they can use our one-shot CLI to send messages about when they plan to publish a new version of their subgraph(s). That banner should direct them to our docs where we lay out the steps they need to take to send a message.Alternative considerations
We could think of ways to integrate the one-shot CLI into Subgraph Studio itself, but that would require enormous effort since we would need to either 1. somehow wrap the existing one-shot CLI in WASM and create bindings for JS (which includes bundling the Go and C compilers) or 2. create a JS clone of one-shot CLI (usingjs-waku
)
Problem statement
More straightforward naming
Expectation proposal
moved from @axiomatic-aardvark graphops/subgraph-radio#20
Problem statement
The current one-shot CLI is perfect for sending one-off subgraph versioning update messages (as well as any message really, with a few tweaks), but we need it to be more user-friendly. This means possibly changing its name and adding a script that runs it within Docker, eliminating the need for users to install all pre-requisites like Go, Clang, etc. We also need to extract it to a separate repo.
Expectation proposal
Users (subgraph devs) should ideally be able to pull a Docker image (GHCR package) and run it with custom arguments.
Alternative considerations
We could also skip this and instead wait for graphcast-web to be functional before recommending the subgraph versioning feature to subgraph developers, but that will take a lot longer and getting early feedback is vital.
subcommand
upgrade-presync
-> send upgrade-intent
indexing-status
-> monitor indexing-status
monitor indexer-version
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.