bayardev / git-plus-plus Goto Github PK
View Code? Open in Web Editor NEWdo repetitive git tasks automatically
License: MIT License
do repetitive git tasks automatically
License: MIT License
Error:
readlink: illegal option -- f
usage: readlink [-n] [file ...]
I'm working around this ....
@Rcolet ๎ฐ bash git++ install -c https://github.com/bayardev/rolling-log.git ~/tmp
rolling-log will be cloning
Cloning into 'rolling-log'...
remote: Counting objects: 290, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 290 (delta 19), reused 40 (delta 11), pack-reused 233
Receiving objects: 100% (290/290), 48.89 KiB | 575.00 KiB/s, done.
Resolving deltas: 100% (121/121), done.
rolling-log is cloning
compser install : start
sh: error importing function definition forcore.options' sh: error importing function definition for
hello.world'
sh: error importing function definition forcore.commandExists' sh: error importing function definition for
printer.title'
sh: error importing function definition forprinter.error' sh: error importing function definition for
printer.red'
sh: error importing function definition forerror.missingArg' sh: error importing function definition for
helper.innerHelp'
sh: error importing function definition forprinter.suggest' sh: error importing function definition for
install.help'
sh: error importing function definition forprinter.yellow' sh: error importing function definition for
printer.cyan'
sh: error importing function definition forprinter.success' sh: error importing function definition for
install.composer'
sh: error importing function definition forcore.functionExists' sh: error importing function definition for
helper.getCmdHelp'
sh: error importing function definition forprinter.green' sh: error importing function definition for
printer.listitem'
sh: error importing function definition forcore.exit' sh: error importing function definition for
helper.funcHelp'
sh: error importing function definition forprinter.print' sh: error importing function definition for
printer.verbose'
sh: error importing function definition forprinter.warning' sh: error importing function definition for
error.callStack'
sh: error importing function definition for `printer.fatalerror'
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 40 installs, 0 updates, 0 removals
- Installing symfony/polyfill-mbstring (dev-master 78be803): Cloning 78be803ce0 from cache
- Installing symfony/http-foundation (dev-master 0314a50): Cloning 0314a5011b from cache
- Installing symfony/event-dispatcher (dev-master 5de2441): Cloning 5de2441e19 from cache
- Installing psr/log (dev-master 4ebe3a8): Cloning 4ebe3a8bf7 from cache
- Installing symfony/debug (dev-master 2489851): Cloning 2489851b11 from cache
- Installing symfony/http-kernel (dev-master dd81af0): Cloning dd81af0c1a from cache
- Installing symfony/yaml (dev-master 90fbbce): Cloning 90fbbce247 from cache
- Installing sebastian/version (2.0.1): Loading from cache
- Installing sebastian/resource-operations (dev-master fadc83f): Cloning fadc83f7c4 from cache
- Installing sebastian/recursion-context (2.0.x-dev 7e4d7c5): Cloning 7e4d7c56f6 from cache
- Installing sebastian/object-enumerator (2.0.x-dev c956fe7): Cloning c956fe7a68 from cache
- Installing sebastian/global-state (1.1.x-dev cea85a8): Cloning cea85a84b0 from cache
- Installing sebastian/exporter (2.0.x-dev 5e8e306): Cloning 5e8e30670c from cache
- Installing sebastian/environment (2.0.x-dev 5795ffe): Cloning 5795ffe5dc from cache
- Installing sebastian/diff (1.4.x-dev 7f066a2): Cloning 7f066a26a9 from cache
- Installing sebastian/comparator (1.2.x-dev 18a5d97): Cloning 18a5d97c25 from cache
- Installing doctrine/instantiator (dev-master 870a62d): Cloning 870a62d7b0 from cache
- Installing phpunit/php-text-template (1.2.1): Loading from cache
- Installing phpunit/phpunit-mock-objects (3.4.x-dev a23b761): Cloning a23b761686 from cache
- Installing phpunit/php-timer (1.0.x-dev 9513098): Cloning 9513098641 from cache
- Installing phpunit/php-file-iterator (1.4.x-dev 730b01b): Cloning 730b01bc3e from cache
- Installing sebastian/code-unit-reverse-lookup (dev-master 3488be0): Cloning 3488be0a7b from cache
- Installing phpunit/php-token-stream (2.0.x-dev 13eb9ab): Cloning 13eb9aba96 from cache
- Installing phpunit/php-code-coverage (4.0.x-dev ef7b2f5): Cloning ef7b2f5681 from cache
- Installing webmozart/assert (dev-master 0df1908): Cloning 0df1908962 from cache
- Installing phpdocumentor/reflection-common (dev-master 8133918): Cloning 81339187a9 from cache
- Installing phpdocumentor/type-resolver (dev-master 69bf1b1): Cloning 69bf1b1995 from cache
- Installing phpdocumentor/reflection-docblock (dev-master 1826097): Cloning 1826097368 from cache
- Installing phpspec/prophecy (dev-master dfd6be4): Cloning dfd6be4411 from cache
- Installing myclabs/deep-copy (1.x-dev 9f80720): Cloning 9f807201f6 from cache
- Installing phpunit/phpunit (5.7.x-dev b7803ae): Cloning b7803aeca3 from cache
- Installing doctrine/lexer (dev-master cc709ba): Cloning cc709ba91e from cache
- Installing doctrine/annotations (dev-master 9419fd5): Cloning 9419fd5b22 from cache
- Installing symfony/console (dev-master 8a8364c): Cloning 8a8364cb4a from cache
- Installing doctrine/inflector (dev-master c5313c1): Cloning c5313c1f16 from cache
- Installing doctrine/collections (dev-master 6a205be): Cloning 6a205be3be from cache
- Installing doctrine/cache (dev-master e3fcea0): Cloning e3fcea0d1a from cache
- Installing doctrine/common (dev-master a61bfdd): Cloning a61bfddd39 from cache
- Installing doctrine/dbal (dev-master 3bfaa82): Cloning 3bfaa821a5 from cache
- Installing doctrine/orm (2.7.x-dev 4f6d47b): Cloning 4f6d47b88a from cache
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/var-dumper ()
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
symfony/console suggests installing symfony/process ()
symfony/console suggests installing symfony/lock ()
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
Writing lock file
Generating autoload files
composer install : end
Problem :
colors are not interpreted and printed as is.
Example :
# git++ help
\e[0;33mAvailable commands:\e[0m
\e[0;32mhelp \t\e[0mPrint HELP for a command
\e[0;32mlist \t\e[0mList all availables commands
\e[0;32mversion \t\e[0mManage Semantic Version (with git tags)
\e[0;32mhello \t\e[0mcustom command example (Hello World :)
Issue:
Probably you bash version is older than the required version 4.2
Verify with :
# bash --version
And if is < 4.2 install a more recent version of bash.
How to replace Mac OS X utilities with GNU core utilities? - Stack Overflow
brew install coreutils
brew install findutils --with-default-names
brew install gnu-indent --with-default-names
brew install gnu-sed --with-default-names
brew install gnutls
brew install grep --with-default-names
brew install gnu-tar --with-default-names
brew install gawk
Problem :
# git++ help
Available commands:
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
help
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
list
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
version
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
hello
Solution on OSX with brew:
brew install gnu-sed --default-names
If still not working remove default sed binarie in /bon/sed and make a symlink :
sudo ln -s /usr/local/bin/gnu-sed /bin/sed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.