Closed DechengMa closed 4 years ago
This PR is to Implement the list and download certificates feature. Closes issue #86
Changes proposed in this pull request:
serialNumber
Certificate
ListCertificatesOptions
ListCertificatesOpertaion
ListDownloadCertificates
Usage: asc certificates list [--filter-serial <filter-serial>] [--sort <sort>] [--filter-type <filter-type>] [--filter-display-name <filter-display-name>] [--limit <limit>] [--download-path <download-path>]
asc certificates list [--filter-serial <filter-serial>] [--sort <sort>] [--filter-type <filter-type>] [--filter-display-name <filter-display-name>] [--limit <limit>] [--download-path <download-path>]
Sample output:
📥 Certificate 'iOS Development: Created via API' downloaded to: /Documents/github/XXXYY.cer
swift run asc certificates list
swift run asc certificates list --download-path ~/Documents/github
This is looking good @DechengMa, just some minor changes would make it 💯
This PR is to Implement the list and download certificates feature. Closes issue #86
📝 Summary of Changes
Changes proposed in this pull request:
serialNumber
to modelCertificate
ListCertificatesOptions
andListCertificatesOpertaion
ListDownloadCertificates
, support viewing and downloading certificates🧐🗒 Reviewer Notes
💁 Example
Usage:
asc certificates list [--filter-serial <filter-serial>] [--sort <sort>] [--filter-type <filter-type>] [--filter-display-name <filter-display-name>] [--limit <limit>] [--download-path <download-path>]
Sample output:
📥 Certificate 'iOS Development: Created via API' downloaded to: /Documents/github/XXXYY.cer
🔨 How To Test
swift run asc certificates list
swift run asc certificates list --download-path ~/Documents/github