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
AIエージェント開発、DevOps and LLMOps
ymd65536
1
350
ライブ配信サービスの インフラのジレンマ -マルチクラウドに至ったワケ-
mirrativ
2
270
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
190
【第4回】関東Kaggler会「Kaggleは執筆に役立つ」
mipypf
0
860
書き捨てではなく継続開発可能なコードをAIコーディングエージェントで書くために意識していること
shuyakinjo
1
310
サーバーサイドのビルド時間87倍高速化
plaidtech
PRO
0
510
エンジニアのための”最低限いい感じ”デザイン入門
shunshobon
0
130
オープンセミナー2025@広島LT技術ブログを続けるには
satoshi256kbyte
0
130
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
The state patternの実践 個人開発で培ったpractice集
miyanokomiya
0
150
A Gopher's Guide to Vibe Coding
danicat
0
170
Honoアップデート 2025年夏
yusukebe
1
860
Featured
See All Featured
BBQ
matthewcrist
89
9.8k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
Visualization
eitanlees
147
16k
The Pragmatic Product Professional
lauravandoore
36
6.8k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Designing for humans not robots
tammielis
253
25k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Typedesign – Prime Four
hannesfritz
42
2.8k
Six Lessons from altMBA
skipperchong
28
4k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
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 ͝੩ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠