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.

[RFC] egg-bin plugin

See original GitHub issue

A tool for managing plugins.

egg-bin plugin [action]

Action

Check the plugin.js

$ egg-bin plugin check
missing: a
    >> Plugin [a] is disabled or missed, but is required by [b]

List all enabled plugins

$ egg-bin plugin list
a: [ 'b', 'c' ]
b: [ 'c' ]
c: []

List all plugins

$ egg-bin plugin list-all
a: [ 'b', 'c' ]
b: [ 'c' ]
c: []

Enable a plugin, give a name or choose from all disabled plugins

$ egg-bin plugin enable b
enable b: [ 'c' ]
enable c: []

Disable a plugin, give a name or choose from all enabled plugins

$ egg-bin plugin disable b
disable a: [ 'b', 'c' ]
disable b: [ 'c' ]

Find a plugin and it’s dependencies

$ egg-bin plugin find a
a: [ 'b', 'c' ]
b: [ 'c' ]
c: []

Options

Give a cwd

$ egg-bin plugin --cwd test/fixtures/apps/testapp list

Find all fixtures and run

$ egg-bin plugin --fixtures list

Dump a plugin file

$ egg-bin plugin list --dump
generate to run/plugin.js

Generate plantuml

$ egg-bin plugin list --puml
generate to run/plugin.puml

Show detail infomation

$ egg-bin plugin list --detail
a: from /path/to/plugin.js enabled
  - b from /path/to/plugin.js enabled
  - c from /path/to/plugin.js enabled

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
atian25commented, Apr 27, 2017
$ egg-bin plugin install egg-passport --type=local
   -> mount plugin `passport(egg-passport)` at config/plugin.local.js
   -> add `egg-passport` to package.json
   -> tnpm i
1reaction
popomorecommented, Apr 25, 2017

之后可能会做个 egg 全局命名来引导 egg-bin

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript - Egg - Eggjs.org
We've no plans for re-writing Egg in TS yet. Egg itself, with its plugin, will have corresponding index.d.ts for users to use easily....
Read more >
RFC-1149: IP over Avian Carriers | Hacker News
Note that RFC 2324 [0] defines the Hyper Text Coffee Pot Control Protocol or HTCPCP, which is an extension of HTTP and implementors...
Read more >
TIL of RFC 2324, the Hyper Text Coffee Pot Control Protocol. It was ...
TIL of RFC 2324, the Hyper Text Coffee Pot Control Protocol. It was included by the IETF as an easter egg in 1998...
Read more >
Untitled
Vc reflect ae plugin download, Ncc 2014 south luzon, Simbolos patrios panamenos, ... Proteus download for windows xp, Bishops stortford rugby club bonfire?...
Read more >
About URI scheme - Wikipedia
... (though more limited) facility to the data: URI scheme defined by RFC 2397. ... about:plugins, Shows the filename, MIME type, description, suffix, ......
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