src/bin/nca-bmp.js
function getBmpBin(): string {
    const cwd = new WorkingDirectory().resolve()

    if (fs.existsSync(cwd + '/.yangpao.toml')) {
        return which('yangpao')
    }
    if (fs.existsSync(cwd + '/.bmp.yml')) {
        return which('bmp')
    }
}
function getBmpBin(): string {
    const cwd = new WorkingDirectory().resolve()

    if (fs.existsSync(cwd + '/.yangpao.toml')) {
        return which('yangpao')
    }
    if (fs.existsSync(cwd + '/.bmp.yml')) {
        return which('bmp')
    }
}
Get bmp|yangpao full path
@private