From 37029b339dbf4349d964ad064da2e022aeda97d5 Mon Sep 17 00:00:00 2001 From: Bruno Roque Date: Tue, 9 Aug 2022 22:06:00 +0200 Subject: [PATCH] Add npm run --- completers/npm_completer/cmd/runScript.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/completers/npm_completer/cmd/runScript.go b/completers/npm_completer/cmd/runScript.go index 92fab851a1..28a114c081 100644 --- a/completers/npm_completer/cmd/runScript.go +++ b/completers/npm_completer/cmd/runScript.go @@ -8,9 +8,10 @@ import ( ) var runScriptCmd = &cobra.Command{ - Use: "run-script", - Short: "Run arbitrary package scripts", - Run: func(cmd *cobra.Command, args []string) {}, + Use: "run-script", + Short: "Run arbitrary package scripts", + Aliases: []string{"run"}, + Run: func(cmd *cobra.Command, args []string) {}, } func init() {