Electrode Native
v0.21
v0.21
  • Introduction
  • INTRODUCTION
    • Overview
      • What is Electrode Native
      • Why use Electrode Native
      • What is a MiniApp
      • Electrode Native workflow
      • Native dependencies management
      • JS/Native communication
      • Requirements
      • Upgrading Electrode Native
      • Contributing
  • QUICK START
    • Building a Movie application
  • REFERENCE
    • Container
      • What's inside
      • Publication
      • Integration
      • Initialization
      • Launching MiniApps
    • Cauldron
      • Structure
      • Setup
      • Compatibility checks
      • Guidelines
    • Manifest
      • Override
      • Native Modules
      • Configurable Modules
    • Runner
    • APIs
      • Project Generation
      • Implementation
      • Versioning
      • Guidelines
    • Bridge
      • Message Types
      • Communication
      • Leveraging APIs
    • CLI
      • Global CLI
      • Local CLI
    • GLOSSARY
  • CLI COMMANDS
    • add
    • binarystore
      • add
      • get
      • remove
    • code-push
      • patch
      • release
      • promote
    • compat-check
    • create-api-impl
    • create-api
    • create-container
    • publish-container
    • transform-container
    • create-miniapp
    • link
    • regen-api
    • regen-api-impl
    • run-android
    • run-ios
    • start
    • unlink
    • upgrade-miniapp
    • why
    • cauldron add
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
      • publisher
    • cauldron del
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron get
      • config
      • dependency
      • nativeapp
    • cauldron repo
      • add
      • clear
      • current
      • list
      • remove
      • use
    • cauldron update
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron batch
    • cauldron regen-container
    • cauldron upgrade
    • platform
      • plugins
        • list
        • search
      • config
      • current
      • install
      • list
      • uninstall
      • use
Powered by GitBook
On this page
  • Description
  • Syntax
  • Remarks
  1. CLI COMMANDS
  2. platform

config

Description

  • Get or set the local platform configuration values stored in the ~/.ern/.ernrc file

Syntax

ern platform config <key> [value]

Arguments

<key>

  • The key of the configuration element to get or set

[value]

  • If specified, will set the config value associated to this key. If not specified, will retrieve the config value (get) associated to this key.

Configurable properties

  • logLevel [trace|debug|info|error|fatal] Set the log level to use for all commands. default : info

  • showBanner [true|false] Show the Electrode Native ASCII banner for all commands. default : true

  • tmp-dir Temporary directory to use during commands execution. default : system default

  • retain-tmp-dir [true|false] If set to true, the temporary directories created during some commands execution, won't be destroyed after the command execution. default : false

Remarks

  • The ern platform config <key> [value] command is rarely used.

  • All current configuration values are already set and retrieved transparently through the use of commands that rely on the local platform configuration.

  • If a value is not provided, the ern platform config <key> [value] command reads the value associated with the specified key and logs it in the terminal.

  • If a value is provided, the ern platform config <key> [value] command sets the value associated with the given key with the specified value, overwriting any existing value stored for this key.

PrevioussearchNextcurrent

Last updated 6 years ago