UNPKG

@ethersphere/swarm-cli

Version:
27 lines (26 loc) 786 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.topicStringProperties = exports.topicProperties = exports.stampProperties = void 0; exports.stampProperties = { key: 'stamp', envKey: 'STAMP', type: 'hex-string', length: 64, description: 'ID of the postage stamp to use', required: { when: 'quiet' }, }; exports.topicProperties = { key: 'topic', type: 'hex-string', alias: 't', description: '32-byte long identifier in hexadecimal format', default: '0'.repeat(64), defaultDescription: 'all zeroes', conflicts: 'topic-string', }; exports.topicStringProperties = { key: 'topic-string', alias: 'T', description: 'Construct the topic from human readable strings', conflicts: 'topic', };