1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/// Starts the bootloader.
/// This app is meant to be used in a global CLI environment (see GitHub for binaries), but we also allow for embedded solutions like this.
///
/// This function does not return anything, it simply gives you the menu prompts for the bootloader and acts accordingly.
/// # init
/// Initializes the file necessary to run the game. You only need to run this once.
/// If you don't run it, the start function will return an error.
///
/// Files save to either the AppData/Roaming/cpu-game folder on Windows, or home/user/.cpu-game
/// # delete
/// Deletes all your game data.
///
/// This should be run when: <br>
/// You are uninstaling expeditionos. <br>
/// You want to re-initialize your game data.
///
/// # Arguements
///
/// * `delete_save` - If true, it will delete the save game file also, otherwise just the hardware data.
/// # update
/// Updates the game, should be run whenever a new version of expeditionos is installed.
///
/// This is the same as running: <br>
/// expeditionos soft-delete <br>
/// expeditionos init
/// # reset
/// Resets the game, deletes all your data (including saves) and re-initializes the game.
///
/// This is the same as running: <br>
/// expeditionos hard-delete <br>
/// expeditionos init