Documentationcurrent version
Help us improve the docs by fixing typos and proposing enhancements.

Nikita

Action "tools.apm.installed"

Check if APM is installed and available on the system.

Example

const {$status} = await nikita.tools.apm.installed()
console.log(`Is APM installed: ${$status}`)

Handler

handler = ->
  await @execute
    command: "if (apm -v | grep apm) then (exit 0) else (exit 1) fi"

Exports

module.exports =
  handler: handler
  metadata:
    shy: true
Edit on GitHub
Navigate
About

Nikita is an open source project hosted on GitHub and developed by Adaltas.