Transformation: Fetch from GitHub
Explore how to extend Elixir functions to fetch and transform data from GitHub in your projects. Learn to use the pipe operator for clear function chaining, handle help commands, and integrate external libraries while managing project dependencies and user inputs.
We'll cover the following...
We'll cover the following...
Now, let’s continue down our data transformation chain. Having parsed our arguments, we need to transform them by fetching data from GitHub.
The process function
We’ll extend our run function to call a process function, passing it the value returned from the parse_args function. We could have written this: ...