doc: create a lock file schema
This commit is contained in:
parent
d057480522
commit
6a24c8d390
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
@ -166,3 +166,29 @@ Settings format is on Linux by address `$HOME/.config/wacli/wacfg.json`
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
Packages installed stored into lock file in json format, by path `$HOME/.config/wacli/wa.lock`
|
||||
|
||||
```json
|
||||
{
|
||||
"fileVersion": 1,
|
||||
"bins": {
|
||||
"<tool_name>": {
|
||||
integrity: "<sha256>",
|
||||
source: "<source_url_downloaded>",
|
||||
installPath: "<install_tool_path>",
|
||||
alias?: "<name_of_alias_if_exist>",
|
||||
version: "<version_downloaded>"
|
||||
}
|
||||
},
|
||||
"ains": {
|
||||
"<tool_name>": {
|
||||
integrity: "<sha256>",
|
||||
source: "<source_url_api>",
|
||||
installPath: "<install_tool_path_schema>",
|
||||
alias?: "<name_of_alias_if_exist>",
|
||||
version: "<version_downloaded>"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue