Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-71] appcd config command implementation

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2017-10-25T18:19:30.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 1.0.0
Componentsappcd, appcd-config, appcd-config-service
Labelsn/a
ReporterChris Barber
AssigneeEwan Harris
Created2017-04-11T21:47:25.000+0000
Updated2017-10-26T03:04:30.000+0000

Description

The appcd CLI needs a config command that can query and change the appcd settings. When querying, simply call /appcd/config and display the result. If the daemon is not running, then you must read the config files and output them. When setting, it needs to update the user-defined config file in ~/.appcelerator/appcd/config.json. Then if the server is running, attempt to change the setting at runtime. If the setting being changed is readonly, then restart the daemon if the --force flag is present otherwise prompt the user to restart the daemon.

Usage

appcd config

appcd config list

appcd config get <key>

appcd config set <key> <value>

appcd config delete <key>

Comments

  1. Ewan Harris 2017-10-24

    https://github.com/appcelerator/appc-daemon/pull/92

JSON Source