Mislav Marohnić
81eed6c48e
rbenv install: error out instead of prompting in non-interactive mode
2024-05-01 15:45:23 +02:00
koooge
76979f8c98
* bin/rbenv-uninstall: delete success message
2016-11-26 18:47:57 +01:00
koooge
70a4788635
* bin/rbenv-uninstall: add kindly text into prompt
2016-11-26 07:05:35 +01:00
Jason Karns
6b639919cf
rbenv ensures RBENV_ROOT is set for us
2016-01-18 09:43:28 -05:00
Jason Karns
47d85f4b7c
include --force option in nodenv-uninstall completions
2015-12-04 16:37:51 -05:00
Jason Karns
699f0cc566
remove sed fallback for help/usage
2015-06-01 21:41:42 -04:00
Mislav Marohnić
34246f9f2e
Have rbenv-uninstall respect -h|--help
2014-11-26 20:46:44 -08:00
Mislav Marohnić
4a6b9280bb
Provide CLI usage help on stout/stderr appropriately
...
When requested via `-h|--help`, usage text should be displayed on stdout
and the exit status should be 0.
When usage text is shown due to invalid arguments, it should be
printed to stderr and exit status should be 1.
2014-11-26 20:46:44 -08:00
Mislav Marohnić
22c73bf3f5
Perform CLI argument validation as early as possible
2014-11-26 20:46:44 -08:00
Ivan Kuchin
fa38b660e2
Abort with usage help on wrong number of CLI arguments
...
- rbenv-install accepts 0 or 1 argument
- rbenv-uninstall accepts 1 argument
- ruby-build accepts 2 arguments
2014-11-26 20:45:53 -08:00
Mislav Marohnić
4d8319bde7
Call rbenv-* subcommands directly, not through the rbenv executable
...
Benefits:
- makes it easier to stub `rbenv-*` subcommands in tests
- speeds up subcommands because it skips the main `rbenv` executable
Caveats:
- users are no longer able to call `bin/rbenv-install` or
`rbenv-uninstall` directly
2014-01-05 18:58:57 +01:00
Mislav Marohnić
24ff49ccc0
Support rbenv hook paths that have spaces
...
Same approach taken in rbenv: sstephenson/rbenv@baf7656d
2014-01-05 18:58:57 +01:00
Yamashita Yuu
92b32f545b
Add before/after hooks for rbenv uninstall
2014-01-05 18:58:57 +01:00
Sam Stephenson
8372808980
Confirm reinstalling already-installed versions unless invoked with --force
2013-01-29 17:22:56 -06:00
Sam Stephenson
b9474ae1db
Add summary lines for rbenv install and rbenv uninstall
2012-12-30 15:25:52 -06:00
Sam Stephenson
643ea84b3f
Delegate to rbenv-help for usage, if available
2012-12-30 15:10:57 -06:00
Sam Stephenson
b4d3ed74a0
"Available" -> "Installed"
2012-08-15 15:08:53 -05:00
Sam Stephenson
aee4782095
rbenv-uninstall prompts before removal unless invoked with -f
2012-08-14 23:08:31 -05:00
Andreas Loupasakis
6d4af03042
Implement rbenv-uninstall command
2012-08-14 18:51:53 -05:00