Skip to content

This CLI was a challenge received from a company I interviewed for.

Notifications You must be signed in to change notification settings

javila35/CLI-Int-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food Truck CLI

Note about API request.

This CLI operates under the assumption that the API uses Pacific time zone. I did not find any information about this in the documentation. This assumption is based off of the results of my test cases.

Using this CLI

  1. Make sure you have Ruby installed. Find more information here.
  2. Navigate to CLI-Int-Demo directory.
  3. From your terminal:
    • Run bundle to install gem dependencies
    • Run rake start to begin CLI
    • Follow prompts

Dependencies

  • Rake -> Start script
  • TTY-Prompt -> Handle user input for displaying more truck information.
  • HTTParty -> Library to handle API call.
  • ActiveSupport -> Handle time zone conversion
  • RequireAll -> One liner to require all models in environment file.

About

This CLI was a challenge received from a company I interviewed for.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages