authenticationOptions top-level property
认证选项
Implementation
final List<FigOption> authenticationOptions = [
FigOption(
name: '--host',
description:
'Use another gemcutter-compatible host (e.g. https://rubygems.org)',
args: [
FigArg(
name: 'HOST',
description: 'The host',
),
],
),
FigOption(
name: ['-k', '--key'],
description: 'Use the given API key',
args: [
FigArg(
name: 'KEYNAME',
description: 'The API key',
),
],
),
FigOption(
name: '--otp',
description:
'Digit code for multifactor authentication You can also use the environment variable GEM_HOST_OTP_CODE',
args: [
FigArg(
name: 'CODE',
description: 'The GEM host otp code',
),
],
),
];