ern: add page (#8229)

* ern: add page

* ern: fix end line colons

* ern: update based on review feedback

* ern: use infinite tense in desc over present

* ern: use infinitive tense in desc over present

* ern: update based on review part 2
pull/1/head
leekuo 2022-07-27 21:26:50 -07:00 committed by GitHub
parent b0c73a81b9
commit 635fcfc9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

32
pages/common/ern.md Normal file
View File

@ -0,0 +1,32 @@
# ern
> Electrode Native platform command line client.
> More information: <https://native.electrode.io/reference/index-6>.
- Create a new `ern` application (`MiniApp`):
`ern create-miniapp {{application_name}}`
- Run one or more `MiniApps` in the iOS / Android Runner application:
`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}}`