Submit Search
Upload
Swift Argument Parser
•
Download as PPTX, PDF
•
0 likes
•
118 views
碩彥 王
Follow
Hi, I'm Shuoyen, This is Swift Argument Parser(SAP) introduction, I hope you will like it.
Read less
Read more
Science
Report
Share
Report
Share
1 of 16
Download now
Recommended
Git hooks
Git hooks
BinBin He
Git hooks
Git hooks
Skills Matter
Git hooks for front end developers
Git hooks for front end developers
Bradley Gore
Continuous Integration with Puppet
Continuous Integration with Puppet
Miguel Zuniga
Git Introduction
Git Introduction
Anil Wadghule
Introduction to GitHub Actions
Introduction to GitHub Actions
Bo-Yi Wu
Introduction to Gitea with Drone
Introduction to Gitea with Drone
Bo-Yi Wu
Puppet at GitHub
Puppet at GitHub
Puppet
Recommended
Git hooks
Git hooks
BinBin He
Git hooks
Git hooks
Skills Matter
Git hooks for front end developers
Git hooks for front end developers
Bradley Gore
Continuous Integration with Puppet
Continuous Integration with Puppet
Miguel Zuniga
Git Introduction
Git Introduction
Anil Wadghule
Introduction to GitHub Actions
Introduction to GitHub Actions
Bo-Yi Wu
Introduction to Gitea with Drone
Introduction to Gitea with Drone
Bo-Yi Wu
Puppet at GitHub
Puppet at GitHub
Puppet
A painless self-hosted Git service: Gitea
A painless self-hosted Git service: Gitea
Bo-Yi Wu
Introduction to GitHub Actions
Introduction to GitHub Actions
Knoldus Inc.
Juc boston2014.pptx
Juc boston2014.pptx
Brandon Mueller
Run Python on windows
Run Python on windows
Sitthykun LY
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Puppet
LicensePlist - A license list generator of all your dependencies for iOS appl...
LicensePlist - A license list generator of all your dependencies for iOS appl...
将之 小野
Better delivery with DevOps Driven Development
Better delivery with DevOps Driven Development
Jirayut Nimsaeng
Scaling up development of a modular code base
Scaling up development of a modular code base
Robert Munteanu
Git basics
Git basics
Amit Sawhney
Git,Github,How to host using Github
Git,Github,How to host using Github
Sujata Regoti
Git isthenewsexy
Git isthenewsexy
Ailsa126
How to store large binary files in git repositories
How to store large binary files in git repositories
Matt Aunger
Presentacion minitest
Presentacion minitest
Ismael G Marín C
Introduction to GitHub
Introduction to GitHub
Nishan Bose
Using GitLab CI
Using GitLab CI
ColCh
Write microservice in golang
Write microservice in golang
Bo-Yi Wu
Github 101 An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
Webinar - Automated Puppet Code Deployment with R10K
Webinar - Automated Puppet Code Deployment with R10K
OlinData
Golang Microservices meetup
Golang Microservices meetup
Girish Ramnani
GoLang Introduction
GoLang Introduction
Spandana Govindgari
#Code2Create:: Introduction to App Development in Flutter with Dart
#Code2Create:: Introduction to App Development in Flutter with Dart
GDGKuwaitGoogleDevel
Magento 2 Workflows
Magento 2 Workflows
Ryan Street
More Related Content
What's hot
A painless self-hosted Git service: Gitea
A painless self-hosted Git service: Gitea
Bo-Yi Wu
Introduction to GitHub Actions
Introduction to GitHub Actions
Knoldus Inc.
Juc boston2014.pptx
Juc boston2014.pptx
Brandon Mueller
Run Python on windows
Run Python on windows
Sitthykun LY
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Puppet
LicensePlist - A license list generator of all your dependencies for iOS appl...
LicensePlist - A license list generator of all your dependencies for iOS appl...
将之 小野
Better delivery with DevOps Driven Development
Better delivery with DevOps Driven Development
Jirayut Nimsaeng
Scaling up development of a modular code base
Scaling up development of a modular code base
Robert Munteanu
Git basics
Git basics
Amit Sawhney
Git,Github,How to host using Github
Git,Github,How to host using Github
Sujata Regoti
Git isthenewsexy
Git isthenewsexy
Ailsa126
How to store large binary files in git repositories
How to store large binary files in git repositories
Matt Aunger
Presentacion minitest
Presentacion minitest
Ismael G Marín C
Introduction to GitHub
Introduction to GitHub
Nishan Bose
Using GitLab CI
Using GitLab CI
ColCh
Write microservice in golang
Write microservice in golang
Bo-Yi Wu
Github 101 An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
Webinar - Automated Puppet Code Deployment with R10K
Webinar - Automated Puppet Code Deployment with R10K
OlinData
Golang Microservices meetup
Golang Microservices meetup
Girish Ramnani
GoLang Introduction
GoLang Introduction
Spandana Govindgari
What's hot
(20)
A painless self-hosted Git service: Gitea
A painless self-hosted Git service: Gitea
Introduction to GitHub Actions
Introduction to GitHub Actions
Juc boston2014.pptx
Juc boston2014.pptx
Run Python on windows
Run Python on windows
Puppet Camp Atlanta 2014: r10k Puppet Workflow
Puppet Camp Atlanta 2014: r10k Puppet Workflow
LicensePlist - A license list generator of all your dependencies for iOS appl...
LicensePlist - A license list generator of all your dependencies for iOS appl...
Better delivery with DevOps Driven Development
Better delivery with DevOps Driven Development
Scaling up development of a modular code base
Scaling up development of a modular code base
Git basics
Git basics
Git,Github,How to host using Github
Git,Github,How to host using Github
Git isthenewsexy
Git isthenewsexy
How to store large binary files in git repositories
How to store large binary files in git repositories
Presentacion minitest
Presentacion minitest
Introduction to GitHub
Introduction to GitHub
Using GitLab CI
Using GitLab CI
Write microservice in golang
Write microservice in golang
Github 101 An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
Webinar - Automated Puppet Code Deployment with R10K
Webinar - Automated Puppet Code Deployment with R10K
Golang Microservices meetup
Golang Microservices meetup
GoLang Introduction
GoLang Introduction
Similar to Swift Argument Parser
#Code2Create:: Introduction to App Development in Flutter with Dart
#Code2Create:: Introduction to App Development in Flutter with Dart
GDGKuwaitGoogleDevel
Magento 2 Workflows
Magento 2 Workflows
Ryan Street
Let's build Developer Portal with Backstage
Let's build Developer Portal with Backstage
Opsta
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
AgileNCR2013
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Michael Lihs
DevOps of Python applications using OpenShift (Italian version)
DevOps of Python applications using OpenShift (Italian version)
Francesco Fiore
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
SmartBear
DevOps-Roadmap
DevOps-Roadmap
BnhNguynHuy1
Honza Dvorský: Swift Package Manager
Honza Dvorský: Swift Package Manager
mdevtalk
NuGet beyond Hello World - DotNext Piter 2017
NuGet beyond Hello World - DotNext Piter 2017
Maarten Balliauw
API Documentation Workshop tcworld India 2015
API Documentation Workshop tcworld India 2015
Tom Johnson
Documentation-driven development for Python web APIs v2
Documentation-driven development for Python web APIs v2
José Haro Peralta
Google App Engine Java, Groovy and Gaelyk
Google App Engine Java, Groovy and Gaelyk
Guillaume Laforge
Cocoapods in action
Cocoapods in action
Han Qin
Building APIs with NodeJS on Microsoft Azure Websites - Redmond
Building APIs with NodeJS on Microsoft Azure Websites - Redmond
Rick G. Garibay
Staying on Topic - Invoke OpenFaaS functions with Kafka
Staying on Topic - Invoke OpenFaaS functions with Kafka
Richard Gee
Revolutionize Your Workflow with ChatOps
Revolutionize Your Workflow with ChatOps
Tessa Mero
Evolution of NuGet
Evolution of NuGet
Jeff Handley
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
Amazon Web Services
Next Level DevOps Implementation with GitOps
Next Level DevOps Implementation with GitOps
Ramadoni Ashudi
Similar to Swift Argument Parser
(20)
#Code2Create:: Introduction to App Development in Flutter with Dart
#Code2Create:: Introduction to App Development in Flutter with Dart
Magento 2 Workflows
Magento 2 Workflows
Let's build Developer Portal with Backstage
Let's build Developer Portal with Backstage
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
Agile NCR 2013- Shekhar Gulati - Open shift platform-for-rapid-and-agile-deve...
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
DevOps of Python applications using OpenShift (Italian version)
DevOps of Python applications using OpenShift (Italian version)
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
DevOps-Roadmap
DevOps-Roadmap
Honza Dvorský: Swift Package Manager
Honza Dvorský: Swift Package Manager
NuGet beyond Hello World - DotNext Piter 2017
NuGet beyond Hello World - DotNext Piter 2017
API Documentation Workshop tcworld India 2015
API Documentation Workshop tcworld India 2015
Documentation-driven development for Python web APIs v2
Documentation-driven development for Python web APIs v2
Google App Engine Java, Groovy and Gaelyk
Google App Engine Java, Groovy and Gaelyk
Cocoapods in action
Cocoapods in action
Building APIs with NodeJS on Microsoft Azure Websites - Redmond
Building APIs with NodeJS on Microsoft Azure Websites - Redmond
Staying on Topic - Invoke OpenFaaS functions with Kafka
Staying on Topic - Invoke OpenFaaS functions with Kafka
Revolutionize Your Workflow with ChatOps
Revolutionize Your Workflow with ChatOps
Evolution of NuGet
Evolution of NuGet
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
Next Level DevOps Implementation with GitOps
Next Level DevOps Implementation with GitOps
Recently uploaded
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
muralinath2
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
PRADYUMMAURYA1
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx .
Poonam Aher Patil
Human genetics..........................pptx
Human genetics..........................pptx
Silpa
Exploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdf
rohankumarsinghrore1
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mapping
adibshanto115
Bacterial Identification and Classifications
Bacterial Identification and Classifications
Areesha Ahmad
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.ppt
RakeshMohan42
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
muralinath2
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
Suji236384
Stages in the normal growth curve
Stages in the normal growth curve
Areesha Ahmad
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
muralinath2
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
1301aanya
Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdf
Sumit Kumar yadav
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx .
Poonam Aher Patil
Site Acceptance Test .
Site Acceptance Test .
Poonam Aher Patil
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
Dr. TATHAGAT KHOBRAGADE
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Silpa
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
sakshisoni2385
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
Areesha Ahmad
Recently uploaded
(20)
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx .
Human genetics..........................pptx
Human genetics..........................pptx
Exploring Criminology and Criminal Behaviour.pdf
Exploring Criminology and Criminal Behaviour.pdf
An introduction on sequence tagged site mapping
An introduction on sequence tagged site mapping
Bacterial Identification and Classifications
Bacterial Identification and Classifications
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.ppt
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
Stages in the normal growth curve
Stages in the normal growth curve
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
Chemistry 5th semester paper 1st Notes.pdf
Chemistry 5th semester paper 1st Notes.pdf
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx .
Site Acceptance Test .
Site Acceptance Test .
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
Swift Argument Parser
1.
Swift Argument Parser CocoaHeads
Taipei Aug 13 By Danishuo
2.
Danishuo 碩彥 🇹🇼
🇬🇧 iOS Developer 💻 🏍 🎾 ☕ 🍜 📘 Medium: https://medium.com/@yusatrtru Github: https://github.com/danishuotw
3.
Agenda • What’s Swift
Argument Parser? • How to use it? • Property wrapper • Customizing help • Validation • Subcommands • Demo
4.
What’s Swift Argument
Parser • New framework package in Swift • Allow you to create command line tools
5.
6.
Property Wrapper • %
example iOS Android Fultter • % example –-count 1 • % example –-toggle
7.
Customizing Help
8.
Validation
9.
How to make
commands like git? • git add . • git push <remote> - tags • git remote prune origin
10.
Subcommands
11.
Demo
12.
Appendix: Swift Package
Commands • swift package init --type executable • swift package generate-xcodeproj
13.
Appendix: Reference • GitHub:
Swift Argument Parser • swift.org: Announcing ArgumentParser
14.
Metrics: Pods vs
Carthage vs SPM https://www.innominds.com/blog/a-new-approach-to-managing-dependencies-in-ios-development-with- swift-package-manager
15.
Note: Decimal conform to
ExpressibleByArgument
16.
Note: How to get
Unix executable file • -> swift -c release • -> cd .build • -> cd release • -> find <project> exec file
Download now