Skip to content

porfect(task) from kood/Jõhvi (school of programming) done in team

License

Notifications You must be signed in to change notification settings

rajaleidja/itinerary

Repository files navigation

Itenerary iteneraryWithBonuses.go


1 task Golang

Nikita Strekalov


"Every flight needs a good and accurate schedule. I hope this schedule was well edited."

Nikita Strekalov


Help Message

If no argument is provided or argument "help", the tool displays a brief help message explaining how to use the application:

$ go run iteneraryWithBonuses.go -h
Usage: ./input.txt ./output.txt ./airport-lookup.csv

Also try "-b -h". There are some interesting things

$ go run iteneraryWithBonuses.go -h -b

How to use with bonus

go run iteneraryWithBonuses.go -b ./input.txt ./output.txt ./airport-lookup.csv

then input column numbers

IMPORTANT

there are 2 files. file "iteneraryWithBonuses.go" is done with AND without bonuses. Depends from "-b" flag file main.go is just task without bonuses.

"iteneraryWithBonuses.go":

  • It has other non-specific interesting bonuses
  • color formatting
  • bold serif in some places
  • It converts city names from airport codes
  • *# and *##
  • It works with non-standard airport lookup column order
  • Need to input column numbers
  • It makes good use of formatting
  • outputting into terminal with colored text
  • can use with and without bonus task
  • Use go run . -b -h to see more. EXAMPLE OF USAGE WITH BONUS TASKS: go run . -b ./input.txt ./output.txt ./airport-lookup.csv

About

porfect(task) from kood/Jõhvi (school of programming) done in team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages