Skip to content

Latest commit

 

History

History

dialaroman_cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

LetsGo! DialARomanCLI Lab

Mission

Implement a DialARomanCLI to call DialARoman service using a CLI app

  • Run your program by passing either -a for arabic or -g for roman
    • If an arabic number is provided, retrieve the roman numeral via HTTP
    • If a roman numeral is provided, fetch the arabic representation instead
  • The CLI must make HTTP calls back to your running DialARoman web service
  • ExtraCredit - call your classmate DialARoman Web Service ;-)

Directions

go run main.go # Starts your DialARoman web service

Sample Output

dialaroman_cli -a 10 # => [DialARoman] Roman numeral for 10 is `X
dialaroman_cli -g X  # => [DialARoman] Arabic number for X is `10

© 2018 Imhotep Software LLC. All materials licensed under Apache v2.0