question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add plugins via a command

See original GitHub issue

It would be ideal, in many scenarios, to be able to add a plugin to the build via a command.

E.g. automated tooling sometimes has customization hooks that need to be added to a build. Currently, these can use the apply -cp <classpath> <command class> mechanism to modify a build and add their hooks, but this leads to some less-than-ideal issues, e.g. classpath detection and cross-publishing.

Ideally, tools/users should be able to experiment with a plugin via a command like:

> apply-plugin "com.typesafe.sbt" % "sbt-pgp" % "1.5"

and have this automatically reload the build with the plugin enabled.

reference: http://stackoverflow.com/questions/25137042/how-do-i-add-a-sbt-plugin-in-to-an-sbt-session-ie-without-saving?noredirect=1#comment39130312_25137042

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
jasticecommented, Apr 26, 2018

No I didn’t know @laughedelic ! I will try this out.

1reaction
laughedeliccommented, Apr 26, 2018

I guess everybody here is already aware of it, but just for the record, the @Duhemm’s load-plugin project achieves somewhat similar to the original apply-plugin proposal and I think it fits exactly @jastice’s requirements:

What I would need is a way to make a plugin sticky for the lifetime of the sbt process, but not have any effects to other instances of sbt started during or after the process runs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

wp plugin install | WP-CLI Command
One or more plugins to install. Accepts a plugin slug, the path to a local zip file, or a URL to a remote...
Read more >
Install plug-ins using the command line
Install plug-ins using the command line ; Install the plug-in, C:\Program Files (x86)\Automation Anywhere\Enterprise\Client> AAPlugInInstallation ...
Read more >
Install Plugins via Command Line - DobsonDev
Install Plugins via Command Line ... WP-CLI is a set of command line tools that will help you manage your WordPress install.
Read more >
How to Install WordPress Plugins - 3 Different Methods - Kinsta
The third and final way to upload a plugin to WordPress is via WP-CLI, which is a command line tool for managing WordPress....
Read more >
How to Install UXP Plugins Using Command Line Tools
If you want to install UXP plugins from the command line tools, or you're a long time ... What is the command to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found