blackhole-theme-sublime/bibop-recipe.sublime-completions

88 lines
8.4 KiB
Text

{
"scope": "source.bibop",
"completions": [
{ "trigger": "pkg\t— List of required packages", "contents": "pkg ${1:package}" },
{ "trigger": "unsafe-actions\t— Allow doing unsafe actions", "contents": "unsafe-actions ${1:yes}" },
{ "trigger": "require-root\t— Requires root privileges for the recipe", "contents": "require-root ${1:yes}" },
{ "trigger": "fast-finish\t— If set to Yes, the test will be finished after the first failure", "contents": "fast-finish ${1:yes}" },
{ "trigger": "lock-workdir\t— Change current directory to working dir for every command", "contents": "lock-workdir ${1:no}" },
{ "trigger": "unbuffer\t— Disables I/O stream buffering", "contents": "unbuffer ${1:flag}" },
{ "trigger": "delay\t— Delay between commands", "contents": "delay ${1:seconds}" },
{ "trigger": "https-skip-verify\t— Disables TLS/SSL certificates verification", "contents": "https-skip-verify ${1:yes}" },
{ "trigger": "command\t— Executes command", "contents": "command \"${1:command}\" \"${2:description}\"" },
{ "trigger": "exit\t— Waits till command will be finished and then checks exit code", "contents": "exit ${1:code}" },
{ "trigger": "wait\t— Pauses before next action", "contents": "wait ${1:duration}" },
{ "trigger": "expect\t— Expects some substring in command output", "contents": "expect ${1:substr}" },
{ "trigger": "print\t— Prints some data to stdin", "contents": "print ${1:data}" },
{ "trigger": "wait-output\t— Waits till command prints any data", "contents": "wait-output ${1:timeout}" },
{ "trigger": "output-match\t— Checks output with some Regexp", "contents": "output-match ${1:regexp}" },
{ "trigger": "output-contains\t— Checks if output contains some substring", "contents": "output-contains ${1:substr}" },
{ "trigger": "output-trim\t— Trim output (remove output data from store)", "contents": "output-trim" },
{ "trigger": "chdir\t— Changes current directory to given path", "contents": "chdir ${1:path}" },
{ "trigger": "mode\t— Checks file or directory permissions", "contents": "mode ${1:path} ${2:mode}" },
{ "trigger": "owner\t— Checks file or directory owner", "contents": "owner ${1:path} ${2:user}:${3:group}" },
{ "trigger": "exist\t— Checks if file or directory exist", "contents": "exist ${1:path}" },
{ "trigger": "link\t— Checks if link points on given file or directory", "contents": "link ${1:link} ${2:target}" },
{ "trigger": "readable\t— Checks if file or directory is readable for some user", "contents": "readable ${1:username} ${2:path}" },
{ "trigger": "writable\t— Checks if file or directory is writable for some user", "contents": "writable ${1:username} ${2:path}" },
{ "trigger": "executable\t— Checks if file or directory is executable for some user", "contents": "executable ${1:username} ${2:path}" },
{ "trigger": "dir\t— Checks if given target is directory", "contents": "dir ${1:path}" },
{ "trigger": "empty\t— Checks if file is empty", "contents": "empty ${1:path}" },
{ "trigger": "empty-dir\t— Checks if directory is empty", "contents": "empty-dir ${1:path}" },
{ "trigger": "checksum\t— Checks file SHA256 checksum", "contents": "checksum ${1:path} ${2:hash}" },
{ "trigger": "checksum-read\t— Checks file SHA256 checksum and write it into the variable", "contents": "checksum-read ${1:path} ${2:variable}" },
{ "trigger": "file-contains\t— Checks if file contains some substring", "contents": "file-contains ${1:path} ${2:substr}" },
{ "trigger": "copy\t— Makes copy of file or directory", "contents": "copy ${1:source} ${2:dest}" },
{ "trigger": "move\t— Moves file or directory", "contents": "move ${1:source} ${2:dest}" },
{ "trigger": "touch\t— Changes file timestamps", "contents": "touch ${1:path}" },
{ "trigger": "mkdir\t— Creates a directory", "contents": "mkdir ${1:path}" },
{ "trigger": "remove\t— Removes file or directory", "contents": "remove ${1:path}" },
{ "trigger": "chmod\t— Changes file mode bits", "contents": "chmod ${1:target} ${2:mode}" },
{ "trigger": "truncate\t— Changes the size of the file to zero", "contents": "truncate ${1:target}" },
{ "trigger": "cleanup\t— Removes all directories and files in the given directory", "contents": "cleanup ${1:dir}" },
{ "trigger": "backup\t— Creates backup for the file", "contents": "backup ${1:path}" },
{ "trigger": "backup-restore\t— Restore file from backup", "contents": "backup-restore ${1:path}" },
{ "trigger": "process-works\t— Checks if process is works", "contents": "process-works ${1:pid-file}" },
{ "trigger": "wait-pid\t— Waits for PID file", "contents": "wait-pid ${1:pid-file} ${2:timeout}" },
{ "trigger": "wait-fs\t— Waits for file/directory", "contents": "wait-fs ${1:target} ${2:timeout}" },
{ "trigger": "connect\t— Checks if it possible to connect to some address", "contents": "connect ${1:network} ${2:address}" },
{ "trigger": "app\t— Checks if application binary is present in PATH", "contents": "app ${1:name}" },
{ "trigger": "signal\t— Sends signal to process", "contents": "signal ${1:sig}" },
{ "trigger": "env\t— Checks environment variable value", "contents": "env ${1:name} ${2:value}" },
{ "trigger": "env-set\t— Sets environment variable", "contents": "env-set ${1:name} ${2:value}" },
{ "trigger": "user-exist\t— Checks if user is exist on system", "contents": "user-exist ${1:username}" },
{ "trigger": "user-id\t— Checks if user has some ID (UID)", "contents": "user-id ${1:username} ${2:uid}" },
{ "trigger": "user-gid\t— Checks if user has some group ID (GID)", "contents": "user-gid ${1:username} ${2:gid}" },
{ "trigger": "user-group\t— Checks if user is a part of some group", "contents": "user-group ${1:username} ${2:groupname}" },
{ "trigger": "user-shell\t— Checks if user has some shell", "contents": "user-shell ${1:username} ${2:shell}" },
{ "trigger": "user-home\t— Checks if user has some home directory", "contents": "user-home ${1:username} ${2:home-dir}" },
{ "trigger": "group-exist\t— Checks if group is exist on system", "contents": "group-exist ${1:groupname}" },
{ "trigger": "group-id\t— Checks if group has some ID (GID)", "contents": "group-id ${1:groupname} ${2:gid}" },
{ "trigger": "service-present\t— Checks if service is present on the system", "contents": "service-present ${1:service-name}" },
{ "trigger": "service-enabled\t— Checks if auto start is enabled for service", "contents": "service-enabled ${1:service-name}" },
{ "trigger": "service-works\t— Checks if service is works", "contents": "service-works ${1:service-name}" },
{ "trigger": "http-status\t— Makes HTTP request and checks status code", "contents": "http-status ${1:method} ${2:url} ${3:code}" },
{ "trigger": "http-header\t— Makes HTTP request and checks response header value", "contents": "http-header ${1:method} ${2:url} ${3:header-name} ${4:header-value}" },
{ "trigger": "http-contains\t— Makes HTTP request and checks response data for some substring", "contents": "http-contains ${1:method} ${2:url} ${3:substr}" },
{ "trigger": "http-json\t— Makes HTTP request and allows to check JSON value", "contents": "http-json ${1:method} ${2:url} ${3:query} ${4:value}" },
{ "trigger": "http-set-auth\t— Sets username and password for Basic Auth", "contents": "http-set-auth ${1:username} ${2:password}" },
{ "trigger": "http-set-header\t— Sets request header", "contents": "http-set-header ${1:header-name} ${2:header-value}" },
{ "trigger": "lib-loaded\t— Checks if the library is loaded to the dynamic linker", "contents": "lib-loaded ${1:glob}" },
{ "trigger": "lib-header\t— Checks if library header files are present on the system", "contents": "lib-header ${1:lib}" },
{ "trigger": "lib-config\t— Checks if the library has a configuration file for pkg-config", "contents": "lib-config ${1:lib}" },
{ "trigger": "lib-exist\t— Checks if library file is exist in libraries directory", "contents": "lib-exist ${1:filename}" },
{ "trigger": "lib-linked\t— Checks if binary file has link with given library", "contents": "lib-linked ${1:binary} ${2:glob}" },
{ "trigger": "python-module\t— Checks if a given Python module could be loaded", "contents": "python-module ${1:name}" },
{ "trigger": "python3-module\t— Checks if a given Python 3 module could be loaded", "contents": "python3-module ${1:name}" }
]
}