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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
Transcript
16 slides
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!
Other Decks in Programming
See All in Programming
GraphQL の onError と Nullability のこれから
quramy
0
210
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
330
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
430
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
170
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
370
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
200
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
100
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.9k
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
11k
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
How to make the Groovebox
asonas
2
2.5k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The browser strikes back
jonoalderson
0
1.9k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Exploring anti-patterns in Rails
aemeredith
4
560