Skip to content

Commit 294e476

Browse files
committed
chore: dummy GpDo command
1 parent 1968a15 commit 294e476

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lua/gp/init.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ local M = {
3434
-- Module helper functions and variables
3535
--------------------------------------------------------------------------------
3636

37+
M.cmd.Do = function(params)
38+
M.logger.info("Dummy Do command called:\n" .. vim.inspect(params))
39+
local result = M.command_parser(params.args, {}, {})
40+
result.template = M.render.template(result.template, result.artifacts)
41+
M.logger.info("Dummy Do command result:\n" .. vim.inspect(result))
42+
end
43+
3744
local agent_completion = function()
3845
local buf = vim.api.nvim_get_current_buf()
3946
local file_name = vim.api.nvim_buf_get_name(buf)

0 commit comments

Comments
 (0)