Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

refactor(cli): removed CLI since it is outdated by now #804

Merged
merged 2 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@

/backend/ @frol
/wamp/ @frol

/cli/ @frol

/frontend/ @frol @shelegdmitriy
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@ A: It is recommended to use `docker-compose` to run all the services and then st
you want to develop locally (`docker-compose stop frontend`). (Follow the execution instructions
written in the relevant README file of the subproject)

Q: How to query internal Explorer database from CLI?
Q: How to query Explorer backend from CLI?

A: Having the backend running, you can query it from CLI just like you can do from the frontend.
To do that, you can use an auxulary tool in the `./cli` folder. See the README there.
A: Having the backend running, you can query it from CLI just like you can do from the frontend using [wamp-cli](https://www.npmjs.com/package/wamp-cli):

```bash
$ npm install wamp-cli
$ ./node_modules/.bin/wampc ws://localhost:8080/ws near-explorer

> session.call('com.nearprotocol.mainnet.explorer.nearcore-view-account', ["frol.near"]).then(console.log);
```

Q: How to auto-format the source code on commit?

Expand Down
59 changes: 0 additions & 59 deletions cli/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions cli/bin/near-explorer

This file was deleted.

Loading