sui-explorer-local
Advanced tools
Comparing version 0.1.6 to 0.2.0
13
index.js
@@ -50,2 +50,15 @@ import chalk from "chalk"; | ||
program | ||
.command("restart") | ||
.description(`Restart ${APP_NAME}`) | ||
.option("-v, --verbose", "display logs") | ||
.action((options) => { | ||
performAction( | ||
`docker compose -f ${cliDirectory}/compose.yml restart`, | ||
`${APP_NAME} restarted`, | ||
`Could not restart ${APP_NAME}`, | ||
options.verbose | ||
); | ||
}); | ||
program | ||
.command("rebuild") | ||
@@ -52,0 +65,0 @@ .description(`Rebuild the ${APP_NAME} app in case of any issues`) |
{ | ||
"name": "sui-explorer-local", | ||
"version": "0.1.6", | ||
"description": "Sui Explorer for Localnet", | ||
"version": "0.2.0", | ||
"description": "Local Sui Explorer: Cli", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -1,4 +0,4 @@ | ||
# Sui Explorer for Localnet | ||
# Local Sui Explorer: Cli | ||
Uses an [unofficial fork](https://github.com/kkomelin/sui-explorer/tree/after-fork) of Sui Explorer, which was originally built by [MystenLabs](https://github.com/MystenLabs) and now it's not actively developed. | ||
A Cli tool that delivers a [slightly adapted version](https://github.com/kkomelin/sui-explorer) of the discontinued [Sui Explorer](https://github.com/MystenLabs/sui-explorer) to your local machine. | ||
@@ -37,2 +37,8 @@ ![Sui Explorer for Localnet: Screenshot](https://repository-images.githubusercontent.com/797627100/4b573a30-32b8-4725-b101-bbeb70883470) | ||
Restart the container: | ||
```bash | ||
sui-explorer-local restart | ||
``` | ||
Rebuild the container in case of any issues: | ||
@@ -46,3 +52,3 @@ | ||
You can use `-v` or `--verbose` flag to display logs for any command this way:: | ||
To display logs for any command, pass `-v` or `--verbose` param to any command this way: | ||
@@ -57,6 +63,8 @@ ```bash | ||
## Copyrights, Licenses and Credits | ||
## License and copyright | ||
All credits go to [MystenLabs](https://github.com/MystenLabs) for their original version or [Sui Explorer](https://github.com/MystenLabs/sui-explorer) (Apache-2.0) | ||
Original version of [Sui Explorer](https://github.com/MystenLabs/sui-explorer) - © [MystenLabs](https://github.com/MystenLabs), Apache-2.0 | ||
Current project is just a tool that delivers a [slightly adapted version](https://github.com/kkomelin/sui-explorer/tree/after-fork) of Sui Explorer to your local machine. | ||
[Local Sui Explorer: Cli](https://github.com/kkomelin/sui-explorer-local) - © [Konstantin Komelin](https://github.com/kkomelin), MIT | ||
[Fork](https://github.com/kkomelin/sui-explorer) of Sui Explorer, which is used by the Cli - Apache-2.0 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7315
6
102
68