Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Intefaces de Linha de Comando com Click
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Abraão Alcântara
July 16, 2016
Programming
29
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intefaces de Linha de Comando com Click
Abraão Alcântara
July 16, 2016
Other Decks in Programming
See All in Programming
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
golang-bob.pdf
iwatsukayura
0
130
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
JIS keyboard support in Omarchy
lef237
0
120
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
3.8k
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
600
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
エンジニアに許された特別な時間の終わり
watany
109
250k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
What's in a price? How to price your products and services
michaelherold
247
13k
Facilitating Awesome Meetings
lara
57
7.2k
The browser strikes back
jonoalderson
0
1.8k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
410
Ruling the World: When Life Gets Gamed
codingconduct
0
400
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Mobile First: as difficult as doing things right
swwweet
225
10k
Transcript
CLICK INTERFACES DE LINHA DE COMANDO COM
PROBLEMAS ▸ Tarefas manuais repetitivas ▸ Execução de tarefas automatizadas
com comandos diferentes ▸ Comando único porém sem documentação ▸ CLI com interface ruim ▸ CLI com alta dificuldade de manutenção
SOLUÇÃO
INSTALAÇÃO ▸ virtualenv venv ▸ source venv/bin/activate ▸ pip install
click
CONFIGURAÇÃO setup.py run.py
INSTALAR PACKAGE RUN EXECUTAR SCRIPT RUN
run.py COMMANDS & GROUPS
PARÂMETROS: OPTIONS
PARÂMETROS: ARGUMENTS
SÓ O COMEÇO…
OPTIONS: FEATURES
ARGUMENT: FEATURES
COMMANDS & GROUPS: FEATURES
LINKS ▸ http://click.pocoo.org
DÚVIDAS?
OBRIGADO!