wsk cli is not retaining .wskprops file formatting after setting properties
- Dominant language
- Go
- Stars
- 109
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
@GabrielNicolasAvellaneda commented on [Tue Sep 26 2017](https://github.com/apache/incubator-openwhisk/issues/2806)
```bash
developer@ubuntu:~/openwhisk$ cat ~/.wskprops
# Bellow is an empty line and then we set the namespace
NAMESPACE=my-namespace # This is an inline comment
# This API host is for the dev environment
APIHOST=http://dev.openwhisk.local:10001
developer@ubuntu:~/openwhisk$ bin/wsk property set --apihost http://test.openwhisk.local:10001
ok: whisk API host set to http://test.openwhisk.local:10001
developer@ubuntu:~/openwhisk$ cat ~/.wskprops
APIHOST=http://test.openwhisk.local:10001
NAMESPACE=my-namespace # This is an inline comment
```
@rabbah If this makes sense please assign this to me. Thanks!
---
@GabrielNicolasAvellaneda commented on [Tue Sep 26 2017](https://github.com/apache/incubator-openwhisk/issues/2806#issuecomment-332217370)
@rabbah Is it safe to do changes in this project instead of the incubator-openwhisk-cli repository? Are you syncing repos?
---
@rabbah commented on [Tue Sep 26 2017](https://github.com/apache/incubator-openwhisk/issues/2806#issuecomment-332218729)
go for it - indeed they're kept in sync until the cord is cut.
Contributor guide
Assessment
This issue has not been assessed yet.