# Allow CLI to start Zed from local sources · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/903eed964ab3941b359a3c299a1d34106ead70cd)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 903eed964ab3941b359a3c299a1d34106ead70cd

Requested commit: 903eed964ab3941b359a3c299a1d34106ead70cd

Commit: 903eed964ab3941b359a3c299a1d34106ead70cd

Tree: 7d4863a93fdb4bd2f9245c38569a417dbbc520ef

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
Allow CLI to start Zed from local sources

Zed now is able to behave as if it's being started from CLI
(`ZED_FORCE_CLI_MODE` env var)

Zed CLI accepts regular binary file path into `-b` parameter (only *.app before),
and tries to start it as Zed editor with `ZED_FORCE_CLI_MODE` env var
and other params needed.

```

## Parents

- [421db9225aa43c7272e6c889f53381aaf89cd8d3](https://git.cafe/gitcafe/zed/commit/421db9225aa43c7272e6c889f53381aaf89cd8d3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/903eed964ab3941b359a3c299a1d34106ead70cd?format=markdown)
