add generation support for version,os,arch and cwd
add generation support for version,os,arch and cwd

Signed-off-by: Wang Qilin <61a0fb5e67ecb1a6580c409197a068eae610aff6@huawei.com>

opencontainers/ocitools,wking/ocitools-v2,opencontainers/ocitools,wking/ocitools-v2,hmeng-19/ocitools,liangchenye/ocitools,opencontainers/runtime-tools,liangchenye/ocitools,hmeng-19/ocitools,opencontainers/runtime-tools