Skip to content

Commit

Permalink
feat: add create_trigger to init and user_commands
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeAbella authored and xixiaofinland committed Oct 1, 2024
1 parent 78a2d9b commit bd3ab9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/sf/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ Sf.create_aura_bundle = Metadata.create_aura_bundle
--- Creates a new LWC Bundle using an input name or prompting the user to enter one
Sf.create_lwc_bundle = Metadata.create_lwc_bundle

--- Creates an apex trigger using an input name or prompting the user to enter one
Sf.create_trigger = Metadata.create_trigger

-- From Test module ==========================================================

--- Open a top-split window to display the Apex tests in the current file.
Expand Down
1 change: 1 addition & 0 deletions lua/sf/sub/config_user_command.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ M.sub_cmd_tbl = {
aura = Sf.create_aura_bundle,
ctags = Sf.create_ctags,
ctagsAndList = Sf.create_and_list_ctags,
trigger = Sf.create_trigger,
},
impl = common_impl,
complete = function(subcmd_arg_lead)
Expand Down

0 comments on commit bd3ab9e

Please sign in to comment.