# gizdb/kv/state

`gizdb state`, the command line of a typed store (gizlang/state) that a program serves: get, list, set, patch, delete, edit and watch through its socket, and serve DIR, a store on the KV engine's log (gizdb/kv/local) that keeps any JSON.

```gizlang
import * as State from "gizdb/kv/state";
```

## Functions

### `run`

```gizlang
function run(args: Vec<string>): i64
```

gizdb state ARGS (db/pg/main.giz runs it as a command).

Effects: fail, read, write, console, io, alloc.

