|
1 | | -# @graphprotocol/typesync |
| 1 | +# @graphprotocol/hypergraph-cli |
2 | 2 |
|
3 | | -CLI toolchain to view existing types, select, pick, extend to create schemas and generate a [@graphprotocol/hypergraph](https://github.com/graphprotocol/hypergraph/tree/main/packages/hypergraph) schema. |
| 3 | +# Hypergraph command-line toolchain for scaffolding and working with Hypergraph applications. |
4 | 4 |
|
5 | 5 | ## Installing |
6 | 6 |
|
7 | 7 | ```bash |
8 | 8 | # npm |
9 | | -npm i -g @graphprotocol/typesync-cli |
| 9 | +npm i -g @graphprotocol/hypergraph-cli |
10 | 10 |
|
11 | 11 | # yarn |
12 | | -yarn global add @graphprotocol/typesync-cli |
| 12 | +yarn global add @graphprotocol/hypergraph-cli |
13 | 13 |
|
14 | 14 | # pnpm |
15 | | -pnpm install -g @graphprotocol/typesync-cli |
| 15 | +pnpm install -g @graphprotocol/hypergraph-cli |
16 | 16 | ``` |
17 | 17 |
|
18 | 18 | ## Running |
19 | 19 |
|
20 | 20 | ```bash |
21 | | -typsync --help |
| 21 | +hypergraph --help |
| 22 | +hg --help # short alias |
22 | 23 |
|
23 | | -# opening typesync studio |
24 | | -typesync studio |
| 24 | +# opening Hypergraph studio |
| 25 | +hypergraph studio |
| 26 | +hg studio |
25 | 27 |
|
26 | | -# opening typesync studio in firefox automatically |
27 | | -typesync studio --open --browser firefox |
| 28 | +# opening Hypergraph studio in firefox automatically |
| 29 | +hypergraph studio --open --browser firefox |
28 | 30 | ``` |
29 | 31 |
|
30 | 32 | ## Commands |
31 | 33 |
|
32 | | -- `studio` -> runs the `Typesync` api and client UI application for viewing created application schemas, browsing the Knowledge Graph, and creating new application schemas. |
33 | | - - running: `typesync studio` |
| 34 | +- `studio` -> runs the Hypergraph API and client UI application for viewing created application schemas, browsing the Knowledge Graph, and creating new application schemas. |
| 35 | + - running: `hypergraph studio` |
34 | 36 | - args: |
35 | 37 | - `port` [OPTIONAL, default = 3000] port to run the application on |
36 | | - - example: `typesync studio --port 3001` |
| 38 | + - example: `hypergraph studio --port 3001` |
37 | 39 | - `browser` [OPTION, default 'browser'] browser to open the app in, if the `--open` flag is passed |
38 | | - - example: `typesync studio --open --browser firefox` |
| 40 | + - example: `hypergraph studio --open --browser firefox` |
0 commit comments