Skip to content

[P2] Add Plugin / Snippet extension system #112

@sajeetharan

Description

@sajeetharan

Feature Request

Priority: P2 (Medium)

Description

CosmosDB Shell has no extension/plugin mechanism for community-contributed commands. A snippet or plugin system would allow the community to build and share reusable shell extensions.

Comparable Features in Other Shells

  • mongosh: Snippet system with snippet install, community registry, autoload

Proposed Behavior

Add a plugin/extension system:

  • plugin install <name> — Install a plugin from a registry
  • plugin list — List installed plugins
  • plugin remove <name> — Uninstall a plugin
  • Support loading .csh scripts from a plugins directory at startup
  • Support a community registry (e.g., GitHub-based or NuGet-based)

Example Usage

plugin install cosmosdb-data-generator
plugin install cosmosdb-migration-helpers
plugin list
plugin remove cosmosdb-data-generator

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions