mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
add safe-chain ultimate logs
This commit is contained in:
parent
337d914124
commit
dfac510c15
2 changed files with 74 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ import {
|
|||
installUltimate,
|
||||
uninstallUltimate,
|
||||
} from "../src/installation/installUltimate.js";
|
||||
import { printUltimateLogs } from "../src/ultimate/printUltimateLogs.js";
|
||||
|
||||
/** @type {string} */
|
||||
// This checks the current file's dirname in a way that's compatible with:
|
||||
|
|
@ -72,6 +73,10 @@ if (tool) {
|
|||
(async () => {
|
||||
await uninstallUltimate();
|
||||
})();
|
||||
} else if (subCommand === "logs") {
|
||||
(async () => {
|
||||
await printUltimateLogs();
|
||||
})();
|
||||
} else {
|
||||
(async () => {
|
||||
await installUltimate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue