Skip to content

Commit

Permalink
Add: --force flag and revisted install description
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Duffney <[email protected]>
  • Loading branch information
duffney committed Mar 23, 2023
1 parent 42f1819 commit ab4b118
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specs/commandline/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Usage:
Flags:
-h, --help help for install
-f, --force force the installation of a plugin
Aliases:
install, add
Expand Down Expand Up @@ -76,7 +77,7 @@ Aliases:
notation plugin install <plugin path>
```

Upon successful execution, the plugin is moved to plugins directory. If the plugin directory does not exist, it will be created. The plugin installation is then verified and if the verification fails, the plugin is removed from the plugins directory and an error is returned. When an existing plugin is detected, the versions are compared and if the existing plugin is a lower version then it is replaced by the newer version.
Upon successful execution, the plugin is moved to plugins directory and name+version of plugin is displayed. If the plugin directory does not exist, it will be created. When an existing plugin is detected, the versions are compared and if the existing plugin is a lower version then it is replaced by the newer version.

### Uninstall a plugin

Expand Down

0 comments on commit ab4b118

Please sign in to comment.