flashbots-cli
Version:
Flashbots CLI tool.
17 lines (16 loc) • 455 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@oclif/core");
const crypto_1 = require("crypto");
// lib
const error_1 = require("../lib/error");
class Uuid extends core_1.Command {
async catch(e) {
(0, error_1.handleGenericError)(e, this);
}
async run() {
this.log((0, crypto_1.randomUUID)());
}
}
exports.default = Uuid;
Uuid.description = 'Generate a random UUID.';