TheFox / flickr-cli

A command-line interface to Flickr. Upload and download photos, photo sets, directories via shell.
https://fox21.at
26 stars 9 forks source link

Make installable as a global Composer package #23

Closed samwilson closed 6 years ago

samwilson commented 7 years ago

I'd like to suggest that the standard (non-development) installation procedure for Flickr CLI should be:

composer global require --no-dev thefox/flickr-cli

More info: https://getcomposer.org/doc/03-cli.md#global

The main change we'd need to make would be to move application.php to bin/flickr-cli and add it as a vendor binary.

This would not have to be a breaking change, as we could still have application.php, until the next major version bump.

TheFox commented 7 years ago

I would rather also prefer the usage of bin directory. This is a more clear way.