Skip to content
/ motoko Public

Motoko: Based on Go modules, update a dependency to a major version.

License

Notifications You must be signed in to change notification settings

ldez/motoko

Repository files navigation

Motoko (Major Motoko Kusanagi)

release Build Status Go Report Card

Sponsor me

Based on Go modules, update a dependency to a major version.

How to Use

Main

Usage of motoko:

  motoko <command> [<flags>]

Commands:
  update   [<flags>]
  version  [<flags>]

Flags:
  --help,-h  Display help

Update

Usage of update:
  -filenames
        Only display file names.
  -latest
        Update to the latest available version.
  -lib string
        Lib to update. (Required)
  -version string
        Version to set.

Examples

# update to the latest version:
motoko update --lib github.com/ldez/go-git-cmd-wrapper --latest

# update to a specific major version:
motoko update --lib github.com/ldez/go-git-cmd-wrapper --version 6

# update to a specific version:
motoko update --lib github.com/ldez/go-git-cmd-wrapper --version v6.0.0

How to Install

Binaries

  • To get the binary just download the latest release for your OS/Arch from the releases page
  • Unzip the archive.
  • Add motoko in your PATH.

Available for: Linux, MacOS, Windows, FreeBSD, OpenBSD.

From a package manager

yay -S motoko
brew tap ldez/tap
brew update
brew install motoko
scoop bucket add motoko https://github.com/ldez/scoop-bucket.git
scoop install motoko

From sources

go install github.com/ldez/motoko@latest

# or 

go install github.com/ldez/motoko@v0.2.4

About

Motoko: Based on Go modules, update a dependency to a major version.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published