config icon indicating copy to clipboard operation
config copied to clipboard

Identify which plugin command belongs to

Open childish-sambino opened this issue 4 years ago • 2 comments

From the context of a running command, there is no populated property indicating which plugin the command belongs to. We have BaseCommand which has utilities used both by the CLI and plugins. I'd like it to be able to identify the plugin name/config in order to create a separate directory for placing assets so that plugins don't have conflicts when accessing these files.

childish-sambino avatar Nov 14 '19 21:11 childish-sambino

We wanted Command to not need to know about where it came from but I see how this could be useful.

RasPhilCo avatar Nov 27 '19 18:11 RasPhilCo

I did it in this way this.config.findCommand(this.id).pluginName;

hectorvp avatar Jul 31 '21 19:07 hectorvp