Skip to main content

Dart Version Manager CLI implemented with Python and Typer.

Project description

Dart Version 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]
  • --keep-pre-release / --no-keep-pre-release: [default: False]
  • --keep-build / --no-keep-build: [default: False]
  • --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]
  • --keep-pre-release / --no-keep-pre-release: [default: False]
  • --keep-build / --no-keep-build: [default: False]
  • --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]
  • --keep-pre-release / --no-keep-pre-release: [default: False]
  • --keep-build / --no-keep-build: [default: False]
  • --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 "<major>.<minor>.<patch>-<pre-release>+<build>". 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dart_version_manager-1.0.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

dart_version_manager-1.0.0-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page