2022-07-28 05:26:50 +01:00
|
|
|
# ern
|
|
|
|
|
2023-05-30 19:37:28 +01:00
|
|
|
> Electrode Native platform command-line client.
|
2022-07-28 05:26:50 +01:00
|
|
|
> More information: <https://native.electrode.io/reference/index-6>.
|
|
|
|
|
|
|
|
- Create a new `ern` application (`MiniApp`):
|
|
|
|
|
|
|
|
`ern create-miniapp {{application_name}}`
|
|
|
|
|
2023-06-13 18:14:43 +01:00
|
|
|
- Run one or more `MiniApps` in the iOS/Android Runner application:
|
2022-07-28 05:26:50 +01:00
|
|
|
|
|
|
|
`ern run-{{ios|android}}`
|
|
|
|
|
|
|
|
- Create an Electrode Native container:
|
|
|
|
|
|
|
|
`ern create-container --miniapps {{/path/to/miniapp_directory}} --platform {{ios|android}}`
|
|
|
|
|
|
|
|
- Publish an Electrode Native container to a local Maven repository:
|
|
|
|
|
|
|
|
`ern publish-container --publisher {{maven}} --platform {{android}} --extra {{'{"groupId":"com.walmart.ern","artifactId":"quickstart"}'}}`
|
|
|
|
|
|
|
|
- Transform an iOS container into a pre-compiled binary framework:
|
|
|
|
|
|
|
|
`ern transform-container --platform {{ios}} --transformer {{xcframework}}`
|
|
|
|
|
|
|
|
- List all installed versions of Electrode Native:
|
|
|
|
|
|
|
|
`ern platform versions`
|
|
|
|
|
|
|
|
- Set a logging level:
|
|
|
|
|
|
|
|
`ern platform config set logLevel {{trace|debug}}`
|