motoko

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL