How to pass parameters to a package command?


#1

Hi, I have this command for a package that I’m working with.

@subscriptions.add atom.commands.add "atom-workspace",
      "activate-background-music:muteToggle": => @musiControler.muteToggle()

Normally I use this command on contents menu with none parameters. I want to call this command in another package and pass a parameter to the function. How can I do this?