Fix formatting and add documentation for PackageCommand