Skip to content

jcmuller/version_manager_shell_string

Repository files navigation

version_manager_shell_string : Shell string with version manager strings

Overview

GoDoc Code Climate Go Report Card Sourcegraph Build Status

Configurable single binary to gather all your version managers active versions.

Install

go get github.com/jcmuller/version_manager_shell_string

Example

Set up ~/.config/version_manager_shell_string/config.yml:

- command: rbenv
  args:
  - version-name
  identifier: R
  file: .ruby-version
- command: goenv
  args:
  - version-name
  identifier: G
  file: .go-version
$ version_manager_shell_string
R:2.4.3*|N:v8.6.0*|G:system

That means:

  • rbenv: 2.4.3
  • nvm: 8.6.0
  • goenv: system

## License

MIT.

About

Go lang version manager shell string getter

Resources

License

Stars

Watchers

Forks

Packages

No packages published