My CLI Project

Fiona Weaver
2 min readDec 3, 2020

During these first few weeks of the bootcamp, I have learned so much. Doing this CLI project really made me realize how much I have actually learn. Being able to write a CLI on my own, and actually see it work, feels amazing!

Coming into this bootcamp I knew a some basics of ruby, like how arrays work, how loops work, a bit about iterating, and a little about classes. Working up to this project, I really got to build on top of that knowledge. I learned about hashes, how to iterate over them, and even how to iterate over nested hashes. Once I started to get deeper into classes, relationships between different classes and how that works, everything started to come together and click for me. When I say ‘click’, I mean that I started to realize the use of all of these things that I was learning, and how I could use it in real life situations. The relationships ‘has many’, ‘belongs to’ and ‘has many through’, definitely gave me a deeper understanding. It helped me understand further how ‘self’ works, and once I truly understood that, everything started to get much easier.

Once I started to learn about scraping, what an API is and how to use it, I started to have a lot of fun with it. Personally, I really enjoyed doing this project, it made me realize how much I had actually learned and it felt very accomplishing to see it actually work.

Another thing I learned during this project was how all of the files and folders work together. The importance of the bin file, the environment file, as well gem-file and how gems work. I realized how helpful google can be, how important it is to read about the gem you want to use, and read the documentation for your API.

I am starting to feel more confident with continuing in this course, I am finding that I really enjoy learning about and writing code. It can be very frustrating and challenging, but I absolutely love the challenge!

--

--