"conan lock create" does not append to lock file
- Dominant language
- C++
- Stars
- 125
- Forks
- 382
- Avg merge
- 22h 39m
- Merged PRs (30d)
- 21
Description
### Environment details
OS: WSL Ubuntu 20.04
Conan: 2.0.0
### Steps to reproduce
Running:
`conan lock create --profile:build: xxx --rpfile:host yyy conanfile.py --lockfile-out new.lock`
According to https://docs.conan.io/2/reference/commands/lock/create.html:

I would expect my lock file to be extended every time I run lock create with different configs with that file as output.
What have I misunderstood?
How do I get it to extend the file?
Rgds
Klaus
### Logs
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the lock create reference page linked in the report and compare its documented output behavior with the reproduced command. Clarify whether repeated runs append or overwrite, explain the supported way to obtain the intended result, and update the relevant documentation.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100