Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stve/current-cli
See what language versions are configured in your current environment
https://github.com/stve/current-cli
Last synced: 23 days ago
JSON representation
See what language versions are configured in your current environment
- Host: GitHub
- URL: https://github.com/stve/current-cli
- Owner: stve
- License: mit
- Created: 2017-09-06T17:07:43.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2021-08-10T22:51:09.000Z (about 3 years ago)
- Last Synced: 2024-09-15T00:58:10.168Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/current-cli
- Size: 209 KB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ⚡️ Current
See what language versions are configured in your current environment
## Installation
```
npm i -g current-cli
```## Usage
```
$ current --helpUsage: index [options]
Options:
-c, --configure Configure
-h, --help output usage information
```### Configuration
On first run, or at any time you can configure `current` so that it knows what languages you'd like to see reported. Run `current --configure` and it will prompt you
### Viewing all versions
```
$ current
go: 1.8.3
java: 1.8.0_102
ruby: 2.4.1p111
```### Viewing a single version
Assuming you've entered a language that is currently supported, `current` will return the configured version:
```
$ current go
1.8.3
```## Roadmap
* Support additional languages (see [`languages`](https://github.com/stve/current-cli/blob/master/lib/languages.js))
* Support registering commands `current --register --command `
* Support toggling languages without running a full configuration `current --add elixir`## Contributing
Please read the [contribution guidelines](CONTRIBUTING.md) in order to make the contribution process easy and effective for everyone involved.
## Copyright
Copyright (c) Steve Agalloco. See [LICENSE](https://github.com/stve/current-cli/blob/master/LICENSE.md) for details.