Skip to content

jakovlev-fedor/json_xml_cli_processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json_xml_cli_processing

Exercising json / xml / cli operations

  • This script is meant to be executed from command line

  • It takes 2 files in json format to process
    students.json
    rooms.json

  • Sgript generates a new data model combined from these two files

  • The user can choose output format of json / xml by specifying certain flags when script execution called

  • CLI usage:

usage: generate_groups.py [-h] [-f [FORMAT]] [-s [STUDENTS]] [-r [ROOMS]]

optional arguments:
  -h, --help            show this help message and exit
  -f [FORMAT], --format [FORMAT]
                        specify output format
  -s [STUDENTS], --students [STUDENTS]
                        specify students.json file path
  -r [ROOMS], --rooms [ROOMS]
                        specify rooms.json file path

About

Exercising json / xml / cli operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages