Files
heartwood/radicle-cli/examples/rad-config.md
T
Fintan Halpenny 49584f4e73 radicle: pinned repositories configuration
Introduce pinned repositories to the `profile::Config`, i.e.
`config.json`.

This is used for pinning repositories in the httpd `/projects` handle.

To allow returning all repositories, an `all` query parameter is also
included.

This is non-backwards compatible change, since we introduce the `show`
query parameter which, if not supplied, will default to `pinned`.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-01-24 10:55:27 +01:00

50 lines
981 B
Markdown

The `rad config` command is used to manage the local user configuration.
In its simplest form, `rad config` prints the current configuration.
```
$ rad config
{
"publicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path",
"preferredSeeds": [],
"web": {
"pinned": {
"repositories": []
}
},
"cli": {
"hints": false
},
"node": {
"alias": "alice",
"listen": [],
"peers": {
"type": "dynamic",
"target": 8
},
"connect": [],
"externalAddresses": [],
"network": "test",
"relay": true,
"limits": {
"routingMaxSize": 1000,
"routingMaxAge": 604800,
"gossipMaxAge": 1209600,
"fetchConcurrency": 1,
"maxOpenFiles": 4096,
"rate": {
"inbound": {
"fillRate": 0.2,
"capacity": 32
},
"outbound": {
"fillRate": 1.0,
"capacity": 64
}
}
},
"policy": "block",
"scope": "followed"
}
}
```