docs: reformat README.md
This commit is contained in:
parent
0f048dc47d
commit
a951162c52
1 changed files with 20 additions and 19 deletions
21
README.md
21
README.md
|
|
@ -9,6 +9,7 @@
|
|||
|___/
|
||||
T H E N I G H T W A T C H
|
||||
```
|
||||
|
||||

|
||||
|
||||
> The city sleeps.
|
||||
|
|
@ -29,7 +30,7 @@ It does not interfere.
|
|||
It does not speculate.
|
||||
It simply keeps watch.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
## Features
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ The Watch is written in **Zig** and built using the Zig build system.
|
|||
|
||||
## Build CLI
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
zig build
|
||||
```
|
||||
|
||||
|
|
@ -61,11 +62,11 @@ The executable will be located in:
|
|||
|
||||
## Install System-Wide
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
zig build install
|
||||
```
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
# Using as a Zig Module
|
||||
|
||||
|
|
@ -74,7 +75,7 @@ other Zig programs.
|
|||
|
||||
In your `build.zig`:
|
||||
|
||||
``` zig
|
||||
```zig
|
||||
const nightwatch = b.dependency("nightwatch", .{
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
|
|
@ -85,29 +86,29 @@ exe.root_module.addImport("nightwatch", nightwatch.module("nightwatch"));
|
|||
|
||||
In your Zig source:
|
||||
|
||||
``` zig
|
||||
```zig
|
||||
const nightwatch = @import("nightwatch");
|
||||
```
|
||||
|
||||
You now have programmatic access to the tracking engine.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
# CLI Usage
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
nightwatch [{path}..]
|
||||
```
|
||||
|
||||
Run:
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
nightwatch --help
|
||||
```
|
||||
|
||||
for full command documentation.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
# Philosophy
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue