This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.
Here are the required steps to create a command:
-
Create a new Gist with a
command.js
andcommand.json
file, or simply fork this one. -
Write your JavaScript in
command.js
. This will be injected into and executed on the page the user is currently on when they run it. -
Add some metadata to the
command.json
file:
- name: The name of the command.