 rnVersion       = '0.17.0'
 rnPackagerPort  = 8081
 podMinVersion   = '0.38.2'
+rnCliMinVersion = '0.1.10'
 process.title   = 'natal'
 reactInterfaces =
   om:        'org.omcljs/om "0.9.0"'

    logErr message


init = (projName, interfaceName) ->
  log "Creating #{projName}", 'bgMagenta'
  log ''

    logErr 'Invalid project name. Use an alphanumeric CamelCase name.'

  try
    cliVersion = exec('react-native --version', true).toString().trim()
    unless semver.satisfies rnCliMinVersion, ">=#{rnCliMinVersion}"
      installRnCli()
  catch
    installRnCli()

  projNameHyph = projName.replace(camelRx, '$1-$2').toLowerCase()
  projNameUs   = toUnderscored projName
