consolidation / cgr

Safe replacement for `composer global require`
451 stars 24 forks source link

Suggestion: json file #8

Open geekish opened 8 years ago

geekish commented 8 years ago

I just discovered this project, and I am very impressed. I would love to see it eventually replace Composer's current global functionality.

I do have one suggestion: use a json file, probably ~/.composer/global.json, like Composer currently uses ~/.composer/composer.json. I have no problem using the command line to install/update packages, but I would like to be able to say, commit my global.json in my dotfiles to more easily bootstrap machines, as I currently do with ~/.composer/composer.json.

I understand this would probably introduce dependencies which goes against the goals of this project. It's just a suggestion. :)

sepehr commented 7 years ago

+1, looking for this very thing.

greg-1-anderson commented 7 years ago

decode_json is built-in, so a simple global.json is not out of the question. PRs welcome.