@holographxyz/cli
Version:
Holograph operator CLI
21 lines (20 loc) • 796 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@oclif/core");
const config_1 = require("../../utils/config");
class Create extends core_1.Command {
static description = 'Create Holographable contracts and NFTs.';
static examples = [
'$ <%= config.bin %> create',
'$ <%= config.bin %> create:contract',
'$ <%= config.bin %> create:nft',
];
async run() {
await (0, config_1.ensureConfigFileIsValid)(this.config.configDir, undefined, false);
await this.parse(Create);
this.log('Make it holographable');
this.log(`To deploy/create holographable contracts or assets, view the help menu by running: holo create --help`);
this.exit();
}
}
exports.default = Create;