Coder Social home page Coder Social logo

Comments (18)

andreascreten avatar andreascreten commented on May 19, 2024

I have issued a pull request to get it included in Homebrew.

You should be able to install wp-cli by running brew install wp-cli once merged.

from wp-cli.

andreascreten avatar andreascreten commented on May 19, 2024

I issued a new, updated, pull request. Still waiting for someone to do the apt-get package.

from wp-cli.

scribu avatar scribu commented on May 19, 2024

I moved the bash scripts to the bin directory to make creating the .deb package easier.

You'll probably have to re-create your symlinks. Updated readme.

from wp-cli.

andreascreten avatar andreascreten commented on May 19, 2024

Maybe we should also introduce a core folder or something like that. It would include all the files that make wp-cli. And a library folder for the 3th party things we are using.

from wp-cli.

andreascreten avatar andreascreten commented on May 19, 2024

My pull request for Homebrew is still pending, they are a bit slow I guess because of the number of pull requests they get a day. I have a new Formula ready which I will submit as soon as the original one is approved.

from wp-cli.

andreascreten avatar andreascreten commented on May 19, 2024

Btw, can we move the build-deb file out of the bin directory? (It conflicts with the Homebrew install)

from wp-cli.

scribu avatar scribu commented on May 19, 2024

So:

bin/
  wp
  wp-cli-completion.bash
utils
  build-deb
core
  [all the .php files]

?

from wp-cli.

andreascreten avatar andreascreten commented on May 19, 2024

Yeah, core would be for the .php files, but I suggest to keep the commands folder in the root.

from wp-cli.

nb avatar nb commented on May 19, 2024

It would be really cool to make it a PHP component like this:

http://blog.stuartherbert.com/php/php-components/

It gives the project a decent structure, allows it to be very easily published on a PEAR channel on github. It's really easy to install wp-cli, and more importantly, upgrade it via PEAR.

Also, if we convince the php-cli-tools guy to do the same we can have the library as a dependency and not clutter the repo with a external module.

As a side note, phix, the tool used to deal with the component is worth looking at, since it also offers extensible CLI commands.

from wp-cli.

scribu avatar scribu commented on May 19, 2024

Having a single update channel, hosted on github, does sound very appealing.

I'll give it a try in a separate branch.

from wp-cli.

andreascreten avatar andreascreten commented on May 19, 2024

On Mac you can now install wp-cli by running brew install wp-cli. It's still installing version 0.1 but I issued a pull request to push it to version 0.2.

from wp-cli.

scribu avatar scribu commented on May 19, 2024

Yeah, but it only works on Mac. On Ubuntu, I'd still have to set up a ppa on launchpad.com and on Fedora and other Linux distros with yum instead of apt-get, we have nothing.

from wp-cli.

andreascreten avatar andreascreten commented on May 19, 2024

My updated to Homebrew was merged a couple hours ago so it should be working great now.

from wp-cli.

nb avatar nb commented on May 19, 2024

@scribu, I would be happy if the branch is pushed here, too, so that I can follow :-)

from wp-cli.

scribu avatar scribu commented on May 19, 2024

Sure; I just haven't started yet. :P

from wp-cli.

nb avatar nb commented on May 19, 2024

2011/10/12 Cristi Burcă
[email protected]:

Sure; I just haven't started yet. :P

I saw that there are no branches in this repo and you haven't forked
it and assumed all brnaches are usually private.

from wp-cli.

scribu avatar scribu commented on May 19, 2024

I started working on a pear package here: https://github.com/scribu/wp-cli/tree/pear

The channel is here: http://andreascreten.github.com/wp-cli/

It's a pain in the ass. To install the completion file, another package is required, just for that:

http://pear.php.net/manual/en/guide.migrating.customroles.defining.php

http://pear.php.net/manual/en/guide.developers.package2.usesrole.php

from wp-cli.

scribu avatar scribu commented on May 19, 2024

Merged into master: https://github.com/andreascreten/wp-cli

Follow-up: #39

from wp-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.