Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
New Business Card
Search
Koki Natsume
July 14, 2018
Programming
0
1.1k
New Business Card
会津 春のLT大会 2018の資料です。
GoでCLI名刺を作る話です。
Koki Natsume
July 14, 2018
Tweet
Share
More Decks by Koki Natsume
See All by Koki Natsume
5分で入門するFlutter
natumn
0
1.4k
僕がGoを選ぶ理由
natumn
0
1.1k
Other Decks in Programming
See All in Programming
Kubernetes上でOracle_Databaseの運用を楽にするOraOperatorの紹介
nnaka2992
0
170
Competitionsだけじゃない! Kaggle Notebooks Grandmasterのすすめ
corochann
2
930
のびしろを広げる巻き込まれ力:偶然を活かすキャリアの作り方/oso2024
takahashiikki
1
200
Folding Cheat Sheet #8
philipschwarz
PRO
0
130
Vue SFCのtemplateでTypeScriptの型を活用しよう
tsukkee
3
420
tsconfig.jsonの最近の新機能 ファイルパス編
uhyo
7
1.9k
sqlcを利用してsqlに型付けを
kamiyam
0
250
空間の中でアイドルとレッスンする技術 - 1st "Vision" / Spatial Lesson technologies with my idol - 1st "Vision"
banjun
PRO
0
250
ML-прайсинг_на_Lamoda__вошли_и_вышли__приключение_на_20_минут__Слава_Цыганков.pdf
lamodatech
0
390
メルカリ ハロ アプリの技術スタック
atsumo
2
880
個人開発で使ってるやつを紹介する回
yohfee
1
730
Debugging: A Few Things You Should Know
jmatsu
1
130
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
The Pragmatic Product Professional
lauravandoore
31
6.2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.6k
YesSQL, Process and Tooling at Scale
rocio
167
14k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Designing the Hi-DPI Web
ddemaree
280
34k
No one is an island. Learnings from fostering a developers community.
thoeni
19
2.9k
A better future with KSS
kneath
237
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.6k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Transcript
NEW BUSINESS CARD 5/26 SPRING LT IN U-AIZU
1 WHO ▸natumn ▸ձେֶ̏ੜ
2 ໊
2 CLI ໊
4 CLI BUSINESS CARD ▸ CUI্ʹϓϩϑΟʔϧΛදࣔ͢ΔΞϓϦ ▸ ͓खܰ ▸ ݩωλ
@sindresorhus(γϯυϨ ιϦϡʔ ε)͞Μͷ “My new business card” ͷπΠʔ τ
5 CLI BUSINESS CARD
6 CLI BUSINESS CARD ▸ CUI্͔ΒϓϩϑΟʔϧΛදࣔ͢ΔΞϓϦ ▸ ͓खܰ ▸ ݩωλ
@sindresorhus͞Μͷ “My new business card” ͷπΠʔτ
7 CLI BUSINESS CARD ▸ CUI্͔ΒϓϩϑΟʔϧΛදࣔ͢ΔΞϓϦ ▸ ͓खܰ ▸ ݩωλ
@sindresorhus͞Μͷ “My new business card” ͷπΠʔτ ▸ npx {ύοέʔδ໊} Ͱ࣮ߦ ▸ ެ։github.com/sindresorhus/sindresorhus
8 NPX COMMAND ▸ npmͷύοέʔδͷμϩʔυͱ࣮ߦΛ͢ ΔCLIπʔϧ ▸ ϩʔΧϧʹ͋Δ߹ɺϩʔΧϧ༏ઌͰ࣮ߦ ▸ npm
v5.2.0 ͔Βಋೖ͞Εͨ
9 CLI BUSINESS CARD $ npx natumn
10
11 ͍
12 ͬͱγϡοͱ͘ද͍ࣔͤͨ͞…
13 $ gpx
14 GPX COMMAND ▸ githubͳͲͰެ։͞Ε͍ͯΔGoͷϓϩάϥϜΛ࣮ ߦ͢ΔCLIπʔϧ( https://github.com/natumn/gpx ) ▸ npxͷGo࣮
(https://github.com/zkat/npx) ▸ npxͷഒҎ্ͷύϑΥʔϚϯε͕ඪ ▸ ex> $ gpx github.com/natumn/natumn
15 GPX COMMAND npx : 15~20ඵ gpx : ̍~̎ඵ
16 ͍ʂ
17 ΊͬͪΌ͍ʂ
18 ͜ΕgpxͰCLI business card ࡞Δ͔͠ͳ͍ʂ
19 ·ͱΊ ▸ CLI Business Card ͱ͍͏͓ख໊ܰΞϓϦ ͕ྲྀߦ͍ͬͯΔ ▸ npx͕͍ͷͰGo൛ͷgpxΛ࡞ͬͨ
▸ npx, gpxͰcli ໊࡞ͬͯ΄͍͠
20 ͝੩ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠