NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 195 forks source link

feat: native add command to add native source files to the project #5806

Closed jcassidyav closed 4 months ago

jcassidyav commented 4 months ago

PR Checklist

What is the current behavior?

You have to know where and how to add native source files to your project.

What is the new behavior?

Provided commands

ns native add swift SomeClass
ns native add objective-c SomeOtherClass
ns native add java some.thing.SomeClass
ns native add kotlin some.thing.SomeOtherClass
NathanWalker commented 4 months ago

This addresses in part RFC: https://github.com/NativeScript/rfcs/pull/50 ❤️ thank you!