Logo

Directives are special comments that configure how Vicinae indexes and executes your scripts. They appear at the top of script files and control everything from the script's display name to its output mode.

Directives

Every directive should be expressed as an inline comment, on a single line.

DirectiveDescriptionRequired
@vicinae.schemaVersionSchema version (currently always 1)Yes
@vicinae.titleDisplay name for the script in searchYes
@vicinae.modeOutput mode (e.g., fullOutput, silent, compact).
See all available modes.
Yes
@vicinae.iconIcon to show in the root search. Can be a file path, an emoji or an HTTPS url. Relative file paths are relative to the directory in which the script is located.No
@vicinae.argument{1...3}Arguments to provide as input to the script. Format is documented on the arguments pageNo
@vicinae.execCustom command line to execute the script. Expressed as a JSON e.g ["/usr/bin/env", "python3", "--my-fancy-flag"]. Removes the need for the script to have executable permission.No
@vicinae.keywordsAdditional keywords to index the script against. Expressed as a JSON e.g ["keyword1", "keyword2"]No
@vicinae.descriptionMore info about what the script does, used for documentationNo
@vicinae.authorAuthor of the script. Used for documentation.No
@vicinae.authorURLLink to the author's GitHub page or website. Used for documentation.No

Was this page helpful?