feat: add help messages

feat(goget): add help message

feat(gomod): add help message
This commit is contained in:
Smirnov Oleksandr 2022-06-24 15:28:00 +03:00
parent 0b415c32e8
commit 096bc8e7ee
2 changed files with 10 additions and 0 deletions

View file

@ -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