Skip to content
Ezra edited this page Mar 15, 2015 · 3 revisions

Outline of how the riceDB client will switch between rices for any given program

  1. The user inputs the command rice -s [program name] [name of rice to switch to]
  2. The client verifies that the specified program and rice are valid
  3. The client will enter into the folder in .[program name]-rice and find the active file
  4. The client will enter into the folder specified by the active file
  5. The client will read configuration file names and locations specified by both sysinfo.json and the index.json files and move all specified files into the current folder
  6. The client will move out of this folder and into the folder of the rice the user wishes to switch to
  7. The client will read the sysinfo.json and the index.json files and move all specified files into the given locations in the json files
  8. The client move out of this folder and modify the active file to point to the folder of the rice that the user specified