Sometimes existing ADRs might not be the only ones existing in the adr directory. For example, there might be other ADRs under review in a pull request.
Creating the next ADR via adr new <title> could lead in this case to an undesired number to be picked. Other (arbitrary) systems may be used to manage ADR numbering.
To allow this it is desirable to parametrize adr new to allow creating the next ADR with an explicit number.
Sometimes existing ADRs might not be the only ones existing in the adr directory. For example, there might be other ADRs under review in a pull request.
Creating the next ADR via
adr new <title>
could lead in this case to an undesired number to be picked. Other (arbitrary) systems may be used to manage ADR numbering.To allow this it is desirable to parametrize
adr new
to allow creating the next ADR with an explicit number.