This module provides a repository actions to copy specific (evaluated) text to the clipboard using the action provider type clipboard-copy
.
To use this module, make sure it is enabled in RepoM by opening the menu and navigate to 'Plugins'. After enabling or disabling a plugin, you should restart RepoM.
This plugin has no configuration.
This module contains the following methods, variables and/or constants:
This action makes it possible to copy text to the clipboard.
Properties:
name
: Name of the menu item. (Text)text
: The text to copy to the clipboard. (Text)context
: The context in which the action is available. (Context)active
: Whether the menu item is enabled. (Predicate)
- type: clipboard-copy@1
name: Copy static text when feature branch
text: 'static text'
active: 'repository.branch | string.starts_with "feature/"'
- type: clipboard-copy@1
name: Copy git checkout command to clipboard
text: 'git checkout -b branch {{ repository.branch }}'