#1599 Console: Module info

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.12
  • Status-Fixed
  • Priority-Medium
  • Type-Enhancement
  1. Zash on

    Description of feature: A command that shows information about a module, such as: - Path to source code - Path to resources (if different, as is the case with the plugin installer) - Hosts it's loaded on - Module status(es) - Features advertised (in the service discovery sense) - Services provided (auth, storage, net, http etc.) - Events hooked (maybe this should be in a separate command?) Example: module:info("roster") | Source: ./plugins/mod_roster.lua | Loaded on: VirtualHost "example.com" | Feature(s): 'jabber:iq:roster' Motivation: I wanted to know which which module directory a module had been loaded from, but this information is not shown in any normal interfaces and one has to reach into the depths of the internals and dig it out.

  2. Zash on

    Actually started this a few days ago.

    Changes
    • owner Zash
    • tags Status-Started
  3. Zash on

    https://hg.prosody.im/trunk/log?rev=extra%28%22topic%22%2C%22shell_module_info%22%29

    Changes
    • tags Milestone-0.12 Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.