-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some useful stuff, like usage section
- Loading branch information
Showing
5 changed files
with
50 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,13 +21,13 @@ var Command = &cobra.Command{ | |
|
||
// Command example | ||
var example = ` | ||
Install specifc version | ||
Remove specifc version | ||
$ ec rm [email protected] | ||
Remove language version with interactive list | ||
Remove language version via interactive list | ||
$ ec rm go | ||
Remove with interactive list | ||
Remove via interactive list | ||
$ ec rm` | ||
|
||
// Runner | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ package commands | |
|
||
// Command example for install command | ||
const example = ` | ||
Install specifc version | ||
Install specifc, say, node version | ||
$ ec [email protected] | ||
Choose local version with interactive list | ||
Or choose from already installed Go versions | ||
$ ec go | ||
Choose remote version with interactive list | ||
Same way to choose, plus install available Rust versions | ||
$ ec -r rust` | ||
|
||
// Help output | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,50 @@ | |
</a> | ||
</p> | ||
<br/><br/> | ||
Eclectica unifies management of any language under one cohesive and minimalistic interface. | ||
|
||
Like [pyenv](https://github.com/pyenv/pyenv) for Python, | ||
[rbenv](https://github.com/rbenv/rbenv) for Ruby, [nvm](https://github.com/creationix/nvm) Node.js and etc. Managing multiple languages and doing it in a little more enjoyable fashion | ||
Eclectica unifies management of any language under one cohesive and minimalistic interface. Like [pyenv](https://github.com/pyenv/pyenv) for Python, | ||
[rbenv](https://github.com/rbenv/rbenv) for Ruby, [nvm](https://github.com/creationix/nvm) Node.js and etc. | ||
|
||
# Install | ||
But instead of having all of those, you have only one binary | ||
|
||
## Usage | ||
|
||
After you [install](#install) eclectica, `ec` program will be available in your terminal, I used to have a nice site with fancy animation explaning how to used it, but help output will do too - | ||
|
||
``` | ||
$ ec --help | ||
Usage: | ||
ec [command] [flags] [<language>@<version>] | ||
Examples: | ||
Install specifc, say, node version | ||
$ ec [email protected] | ||
Or choose from already installed Go versions | ||
$ ec go | ||
Same way to choose, plus install available Rust versions | ||
$ ec -r rust | ||
Available Commands: | ||
completion generate the autocompletion script for the specified shell | ||
install same as "ec [<language>@<version>]" | ||
ls list installed language versions | ||
remove-everything removes everything related to eclectica | ||
rm remove language version | ||
version print version of eclectica | ||
Flags: | ||
-h, --help help for ec | ||
Use "ec [command] --help" for more information about a command | ||
``` | ||
|
||
## Install | ||
|
||
Since eclectica is language manager for any language, it should be installed through any package manager :-) | ||
|
||
- [go get](#go-get) | ||
- [npm](#npm) | ||
|