natapp-cli
A command line tool to help avoid common build issues when creating Android and IOS apps with Ionic & Cordova
Last updated 2 years ago by ollieri3 .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install natapp-cli 
SYNC missed versions from official npm registry.

natapp cli


The aim of the natapp cli is to help avoid common issues when building mobile applications with ionic-native. Below you can see a list of checks to see what we support

Commands


$ natapp doctor check | Alias natapp d c - by default this will run all checks for both IOS and Android. Available flags: --ios , --android (filters the checks to the specified flag)

$ natapp doctor list | Alias: natapp d ls - lists all the checks that are available. Available flags: --ios , --android (filters the list to the specified flag)

For a detailed look at what each command does you can run: $ natapp doctor <command> -help

Contributing


The checks that are run are stored in the /checks folder, Each Check is simply a factory function which should contain the following public information:

  • Name of check
  • Platform (ios, android, both)
  • Test Method
  • Solution Method
  • Automatic solution(boolean)

Both the test and solution method should return an object detailing the outcome of the check / solution. e.g.:

return {
    success: true,
    error: null,
    message: 'Successfully instlled Ionic WkWebView Plugin'
}

To add a new check simply add a new JS file to /checks folder include the above information. Export your factory function and import it within the /checks/index.js file.

Current Tags

  • 1.1.1                                ...           latest (2 years ago)

3 Versions

  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |