15 Commits

Author SHA1 Message Date
Marcelo Conceicao
2ec352bc70 Remove links pointing to nonexistent folders on cache-clean, #182. 2013-02-08 15:02:47 +00:00
André Cruz
eb9f6aca03 Merge branch 'master' of github.com:twitter/bower into completion
Conflicts:
	README.md
	lib/commands/register.js
	lib/core/config.js
2012-12-30 11:01:11 +00:00
André Cruz
ae87fd4a32 Some tweaks to the completion.
- Now has a separate cache folder
- Adjust cache clean to also clear the completion cache (and fix some possible issues)
- Add two empty lines to the completion template in case the user does >> ~./bash_profile.sh
2012-12-30 10:53:37 +00:00
Mickael Daniel
b544425667 completion - generic method to complete command options
at command level, attach the `shorthand` Hash to the completion
function. The completion command will then try to complete shorthands
and longer flag based on user input.

completing after just one `-` will complete the list of short flags.

completing after just two `--` will complete the list of longer flags.
2012-12-25 16:03:21 +01:00
André Cruz
4fb74b326f Remove unused options. 2012-12-14 10:50:10 +00:00
André Cruz
caa983361e Remove wrong options from cache-clean. 2012-12-08 10:53:43 +00:00
Mickael Daniel
e11651648f Add completion handler for each command 2012-12-01 21:32:34 +01:00
André Cruz
381c5fea77 Remove dot from error message. 2012-10-26 10:49:02 +02:00
André Cruz
9c81c3ce29 Use custom fileExists that returns true if the file exists but cannot be stat'ed.
This is needed because fs.exists was returning false values when it should actually return true.
2012-10-24 02:26:31 +01:00
André Cruz
8dc17f64f8 Important fixes to the update command.
- Update command now correctly process passed packages
- Fix packages in which the name couldn't be correctly extracted from the remote URL
- Add --force flag, just like the install command
2012-10-24 01:28:18 +01:00
André Cruz
b371dd2cf7 Return early. 2012-10-22 21:44:35 +01:00
André Cruz
a74f6630df Add tests for cache-clean, unified some return values. 2012-10-20 16:41:19 +01:00
Andre Cruz
708d68aee7 Prevent errors when passing duplicate packages to cache-clean. 2012-10-16 01:01:54 +00:00
André Cruz
3bcd2e08e8 Revert "Ability to disable colors with the --no-colors arg."
This reverts commit 008e0d8c8a.
2012-10-15 20:16:48 +01:00
André Cruz
5967acb15e Add cache-clean command, remove unnecessary code. 2012-10-15 19:27:48 +01:00