Dart Package Manager

License: MIT Test

Version Last commit GitHub commit activity Github Stars Github Forks Github Watchers Website GitHub contributors

Dart Version Manager CLI implemented with Python and Typer.

Usage:

$ dvm [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • build: Manage “build” tag
  • get: Get project version
  • major: Manage “major” version
  • minor: Manage “minor” version
  • patch: Manage “patch”
  • pre-release: Manage “pre-release” tag
  • set: Set project version

dvm build

Manage “build” tag

Usage:

$ dvm build [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get “build” tag
  • set: Set “build” tag
  • up: Increase “build” tag’s first detected number…

dvm build get

Get “build” tag

Usage:

$ dvm build get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm build set

Set “build” tag

Usage:

$ dvm build set [OPTIONS] BUILD [FILENAME]

Arguments:

  • BUILD: “build” tag [required]
  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm build up

Increase “build” tag’s first detected number by 1

Usage:

$ dvm build up [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm get

Get project version

Usage:

$ dvm get [OPTIONS] [PUBSPEC_FILE]

Arguments:

  • [PUBSPEC_FILE]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm major

Manage “major” version

Usage:

$ dvm major [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get “major” version
  • set: Set “major” version
  • up: Increase “major” version by 1

dvm major get

Get “major” version

Usage:

$ dvm major get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm major set

Set “major” version

Usage:

$ dvm major set [OPTIONS] MAJOR [FILENAME]

Arguments:

  • MAJOR: “major” version [required]
  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm major up

Increase “major” version by 1

Usage:

$ dvm major up [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm minor

Manage “minor” version

Usage:

$ dvm minor [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get “minor” version
  • set: Set “minor” version
  • up: Increase “minor” version by 1

dvm minor get

Get “minor” version

Usage:

$ dvm minor get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm minor set

Set “minor” version

Usage:

$ dvm minor set [OPTIONS] MINOR [FILENAME]

Arguments:

  • MINOR: “minor” version [required]
  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm minor up

Increase “minor” version by 1

Usage:

$ dvm minor up [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm patch

Manage “patch”

Usage:

$ dvm patch [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get “patch”
  • set: Set “patch”
  • up: Increase “patch” by 1

dvm patch get

Get “patch”

Usage:

$ dvm patch get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm patch set

Set “patch”

Usage:

$ dvm patch set [OPTIONS] PATCH [FILENAME]

Arguments:

  • PATCH: “patch” number [required]
  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm patch up

Increase “patch” by 1

Usage:

$ dvm patch up [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm pre-release

Manage “pre-release” tag

Usage:

$ dvm pre-release [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Get “pre-release” tag
  • set: Set “pre-release” tag
  • up: Increase “pre-release” tag’s first detected…

dvm pre-release get

Get “pre-release” tag

Usage:

$ dvm pre-release get [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm pre-release set

Set “pre-release” tag

Usage:

$ dvm pre-release set [OPTIONS] PRE_RELEASE [FILENAME]

Arguments:

  • PRE_RELEASE: “pre-release” tag [required]
  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm pre-release up

Increase “pre-release” tag’s first detected number by 1

Usage:

$ dvm pre-release up [OPTIONS] [FILENAME]

Arguments:

  • [FILENAME]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

dvm set

Set project version

Usage:

$ dvm set [OPTIONS] VERSION [PUBSPEC_FILE]

Arguments:

  • VERSION: The version to set in format ”
    .

    .

    +

    “. The “major”, “minor” and “patch” must be all integers. The “pre-release” and “build” are words splited by “.”. [required]

  • [PUBSPEC_FILE]: Path to the pubspec file of the Dart project [env var: DVM_FILENAME;default: .\pubspec.yaml]

Options:

  • --verbose / --no-verbose: [default: True]
  • --help: Show this message and exit.

GitHub

View Github