for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import {client} from '../utils/os'
abstract class Tool {
abstract name: string
abstract alias: string
/**
* Install the app.
*/
install = async (): Promise<boolean> => {
if (await this.isInstalled()) {
console.log(`${this.name} already is installed`)
return false
}
console.log(`Installing ${this.name}...`)
await client().packageManager.install(this.alias, false)
return true
* Uninstall the app.
uninstall = async (): Promise<boolean> => {
if (!(await this.isInstalled())) {
console.log(`${this.name} is not installed`)
console.log(`Uninstalling ${this.name}...`)
await client().packageManager.uninstall(this.alias, false)
console.log(`Installed ${this.name}`)
* Check if the is already installed..
isInstalled = async (): Promise<boolean> => {
return client().packageManager.packageIsInstalled(this.alias)
export default Tool