Refactor of cgpt tool for 32->64 autoupdate work.
This check-in splits the cgpt into two layers. The top layer (cmd_* files) does
the command-line parsing and the bottom layer (cgpt_* files) does the actual
This is done so that the bottom layer can be reused for the monolithic
C++ post-installer code that will be done in subsequent checkins.
TEST=Tested with existing cgpt unit tests as well as running the cgpt commands manually.
Reviewed-by: Jay Srinivasan <email@example.com>
Tested-by: Jay Srinivasan <firstname.lastname@example.org>
Commit-Ready: Jay Srinivasan <email@example.com>
16 files changed