I can't see anywhere if that was an intentional change, but using version 3.2.0 in Python 3.10.1 on Linux (5.15.14-1-lts #1 SMP Tue, 11 Jan 2022 15:37:45 +0000 x86_64 GNU/Linux) causes parsing of files to have the Command.cmd field to be uppercase.
In the previous versions, it was always lowercase, and since you also display the commands in dockerfile.all_cmds() as lowercase, I think it is not on purpose.
I can't see anywhere if that was an intentional change, but using version 3.2.0 in Python 3.10.1 on Linux (5.15.14-1-lts #1 SMP Tue, 11 Jan 2022 15:37:45 +0000 x86_64 GNU/Linux) causes parsing of files to have the Command.cmd field to be uppercase.
Here is the parse result in the new version
Where Dockerfile is the following:
In the previous versions, it was always lowercase, and since you also display the commands in
dockerfile.all_cmds()
as lowercase, I think it is not on purpose.