Description
stk-legacy delete plugin
command removes Plugins in a Stack project. To do this, the creator needs to send the change to GitHub via the git push
command.
When running the stk-legacy delete plugin <name-plugin>
command in your Stack, your Plugin folder and its settings in separate repositories will be removed.
How does it work?
The syntax of the command is: stk-legacy dele plugin [OPTIONS] PLUGIN-FOLDER
.
Parameters
Check the available options in the command:
Parameter | Description |
---|---|
PLUGIN-FOLDER | This is the Plugin folder that represents which Plugin will be removed from the Stack. |
--repo-path | Allows you to execute the command from outside your Stack. The format is stk-legacy delete plugin <plugin-name> --repo-path <stack-path> . |
Examples
The example below shows how to remove the Plugin my-plugin
from the my-stack
Stack.
- Go to the Stack folder with the Plugin you want to remove:
cd my-stack
- In the Stack, execute the command to delete:
stk-legacy delete plugin my-plugin
And the return will be:
- Plugin my-plugin deleted from <your-stack-path>.
> Now, you can run a git push command to effectively remove from remote repository.
Check below:
Read more .
Was this page helpful?