Skip to main content
Version: v4.5.0

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:

ParameterDescription
PLUGIN-FOLDERThis is the Plugin folder that represents which Plugin will be removed from the Stack.
--repo-pathAllows 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.

  1. Go to the Stack folder with the Plugin you want to remove:
cd my-stack
  1. 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?