# remove \`zig build \-\-init\`\. add \`zig init-lib\` and \`zig init-exe\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4c6f1e614a204293732004ef844e8bb057bdc212)

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

Visibility: public

Requested revision: 4c6f1e614a204293732004ef844e8bb057bdc212

Requested commit: 4c6f1e614a204293732004ef844e8bb057bdc212

Commit: 4c6f1e614a204293732004ef844e8bb057bdc212

Tree: 5b9ce7cf5888d2122406b79001325ed770d5d872

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
remove `zig build --init`. add `zig init-lib` and `zig init-exe`

init-lib creates a working static library with tests, and
init-exe creates a working hello world with a `run` target.

both now have test coverage with the new "cli tests" file.

closes #1035

```

## Parents

- [9c9eefc841b577f646a54e74c8970e074162b594](https://git.cafe/gitcafe/zig/commit/9c9eefc841b577f646a54e74c8970e074162b594?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4c6f1e614a204293732004ef844e8bb057bdc212?format=markdown)
