feat: add help messages
feat(goget): add help message feat(gomod): add help message
This commit is contained in:
parent
0b415c32e8
commit
096bc8e7ee
2 changed files with 10 additions and 0 deletions
|
|
@ -4,6 +4,11 @@ local u = require "gopher._utils"
|
|||
---run "go mod"
|
||||
return function(...)
|
||||
local args = { ... }
|
||||
if #args == 0 then
|
||||
u.notify("please provide any mod command", "error")
|
||||
return
|
||||
end
|
||||
|
||||
local cmd_args = vim.list_extend({ "mod" }, args)
|
||||
|
||||
Job
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue