capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

feat: Capacitor CLI - Javascript API

Open Marcoru97 opened this issue 2 years ago • 0 comments

Feature Request

Description

Would it be possible to also access the CLI commands via a Javascript API? At the moment only the type definitions are "officially" exposed and it is only possible somehow through hacky solutions.

Platform(s)

Preferred Solution

Exposed JS functions within the @capacitor/cli package, with their CLI arguments and configs as parameters.

Alternatives

Additional Context

Marcoru97 avatar Jun 23 '22 23:06 Marcoru97