semaphoreci / cli

Semaphore 2.0 Command Line Interface
Apache License 2.0
26 stars 13 forks source link

`--editor` flag does not work #131

Closed quinn closed 5 years ago

quinn commented 5 years ago

based on glancing at this code:

https://github.com/semaphoreci/cli/blob/master/config/config.go#L51-L63

i would guess that there might be a --editor flag. there doesn't seem to be or i'm using it wrong.

shiroyasha commented 5 years ago

Thanks for opening an issue.

The attached code reads from the config file, and passes it to the rest of the code. By default, the editor is vim.

If you want to change this settings, execute:

sem config set editor <editor>

For example, to set up nano:

sem config set editor nano

I'll open an issue in the docs, and close this issue.

quinn commented 5 years ago

@shiroyasha thank you