Code Monkey home page Code Monkey logo

Comments (9)

plwalters avatar plwalters commented on May 27, 2024

This should also install the plugins' CLI libs. I would assume that they would be placed in the lib file along side the others, but how can we add the commands without modifying the cli source so it can still be updated? Any thoughts @joelcoxokc @ahmedshuhel @zewa666 @EisenbergEffect ?

from cli.

joelcoxokc avatar joelcoxokc commented on May 27, 2024

I think I have some ideas. I say we have them install the plugins locally. and we can just require them from their local dir. Let me play around with it.

from cli.

plwalters avatar plwalters commented on May 27, 2024

@joelcoxokc I think you have a lot of issues already, I'm taking this one back for now since I've been working on it. In the future please let me know before you reassign.

from cli.

joelcoxokc avatar joelcoxokc commented on May 27, 2024

I apologize. I think I did this by mistake.
On Wed, May 20, 2015 at 6:03 PM Patrick Walters [email protected]
wrote:

@joelcoxokc https://github.com/joelcoxokc I think you have a lot of
issues already, I'm taking this one back for now since I've been working on
it. In the future please let me know before you reassign.


Reply to this email directly or view it on GitHub
#49 (comment).

from cli.

plwalters avatar plwalters commented on May 27, 2024

I'm unassigning myself from this now as I don't have time to salvage the work I've done right now. In a nutshell, if you pick this one up, this is what I would suggest -

User input

$ aurelia -a i18next
  1. Check the registry for a matching named entry named 'i18next'
  2. Use the endpoint and location to construct the jspm install message (ex. jspm install github:zewa666/i18next)
  3. Add aurelia section to package.json if it doesn't exist.
  4. Add key/value entry for the plugin under the aurelia: { plugins: [] } section

For this to still work the way I planned it would mean that we need a helper function added to the main.js to dynamically add the plugins listed there. The alternative is to manually edit the main.js but that feels fragile.

from cli.

joelcoxokc avatar joelcoxokc commented on May 27, 2024

I'll take it off your hands !

from cli.

ahmedshuhel avatar ahmedshuhel commented on May 27, 2024

The feature is in and released already

from cli.

plwalters avatar plwalters commented on May 27, 2024

@ahmedshuhel wow that's awesome! Is there some documentation we can read on how to install a plugin through the CLI?

from cli.

ahmedshuhel avatar ahmedshuhel commented on May 27, 2024

@PWKad credit goes to @zewa666. https://github.com/aurelia/cli#plugin

from 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.