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
Writing Command Line Applications in Elixir
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
James Smith
July 25, 2014
Programming
1.6k
7
Share
Writing Command Line Applications in Elixir
Using Elixir to solve small problems.
James Smith
July 25, 2014
Other Decks in Programming
See All in Programming
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
430
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
2.7k
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
220
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
200
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
1.9k
Inside Stream API
skrb
1
490
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
400
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
7
2.9k
サーバーレスで作る、動画データ管理基盤
oyasumipants
0
330
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
110
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5k
Featured
See All Featured
Paper Plane
katiecoart
PRO
1
50k
Visualization
eitanlees
152
17k
A Soul's Torment
seathinner
6
2.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
220
The SEO identity crisis: Don't let AI make you average
varn
0
480
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
420
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
240
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
320
The Invisible Side of Design
smashingmag
302
52k
Exploring anti-patterns in Rails
aemeredith
3
380
Marketing to machines
jonoalderson
1
5.3k
Transcript
HELLO SEND(AUDIENCE, {:GREETING, “HELLO!”})
None
None
–interested programmer “I'd love to check out Elixir but I
don't really have a problem that is big enough that Elixir is well suited for.”
None
MASSIVELY CONCURRENT DISTRIBUTED FAULT TOLERANT WEB SCALE FUNCTIONAL
PIPES |> PATTERN MATCHING |> MESSAGE PASSING |> IMMUTABILITY |>
=> {:OK, “ ☺”} ELIXIR OFFERS A DIFFERENT WAY TO THINK ABOUT AND SOLVE PROBLEMS OF ANY SIZE. !
None
WRITING COMMANDLINE APPS WITH ELIXIR
None
None
MIX
DEPENDENCIES Hex package Git/SCM Path Dependency tasks mix deps: “lists
all deps and their status” mix deps.get “Get non installed dependencies” mix deps.compile mix deps.update mix deps.clean “Remove all dependency files” mix deps.unlock “Unlock dependencies”
None
UMBRELLA PROJECTS • Run tasks across apps • Run all
your tests for apps in app_path • Run Applications in dependent order…
MIX TASKS
RUNNING OUR APPS MIX ESCRIPT.BUILD
None
None
None
BASIC IO
TESTING IO
IO.ANSI • escape_fragment(string, emit \\ terminal()) • “%{clear, home, green,
bright} Welcome” • IO.red() IO.green() etc… • home() send the cursor home
FILES AND PATHS • File.open • File.close • File.read •
binread/write utf8 and IO module • File.read vs File.read! • Path.join and Path.expand • Path.wildcard
PORT
BASIC USAGE
DEMO
SCALING UP COMMAND LINE APPS WITH TASKS & AGENTS
TASKS
AGENTS a simple abstraction around state
DEMO DEMO
THANK YOU