"Every flight needs a good and accurate schedule. I hope this schedule was well edited."
Nikita Strekalov
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
go run iteneraryWithBonuses.go -b ./input.txt ./output.txt ./airport-lookup.csv
then input column numbers
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