packages/client-cli/src/argv/telemetry.ts
// Copyright 2017-2019 @polkadot/client-cli authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Options } from 'yargs';
import defaults from '@polkadot/client-telemetry/defaults';
const config: Record<string, Options> = {
'telemetry-name': {
default: '',
description: 'Unique name of this node to report',
type: 'string'
},
'telemetry-url': {
default: defaults.URL,
description: 'Websocket endpoint for telemetry stats',
type: 'string'
}
};
export default config;