pubPassthroughCommandDefinitions top-level constant
Implementation
const pubPassthroughCommandDefinitions = [
PubCommandDefinition(
name: 'add',
description: 'Add dependencies to `pubspec.yaml`',
),
PubCommandDefinition(
name: 'bump',
description: 'Increase the version number of the current package',
),
PubCommandDefinition(
name: 'cache',
description: 'Work with the system cache',
),
PubCommandDefinition(name: 'deps', description: 'Print package dependencies'),
PubCommandDefinition(
name: 'downgrade',
description:
"Downgrade the current package's dependencies to oldest versions",
),
PubCommandDefinition(
name: 'global',
description: 'Work with global packages',
),
PubCommandDefinition(name: 'login', description: 'Log into pub.dev'),
PubCommandDefinition(name: 'logout', description: 'Log out of pub.dev'),
PubCommandDefinition(
name: 'outdated',
description: 'Analyze dependency versions',
),
PubCommandDefinition(
name: 'publish',
description: 'Publish the current package',
),
PubCommandDefinition(
name: 'remove',
description: 'Remove dependencies from `pubspec.yaml`',
),
PubCommandDefinition(
name: 'token',
description: 'Manage authentication tokens for hosted pub repositories',
),
PubCommandDefinition(
name: 'unpack',
description: 'Download a package without adding it as a dependency',
),
PubCommandDefinition(
name: 'upgrade',
description: 'Upgrade dependencies',
aliases: ['update'],
),
PubCommandDefinition(
name: 'workspace',
description: 'Work with the current workspace',
),
];