diff --git a/src/bottles/commands.txt b/src/bottles/commands.txt index ef09477..3cdd590 100644 --- a/src/bottles/commands.txt +++ b/src/bottles/commands.txt @@ -5,5 +5,5 @@ config config_command Change configuration options. create create_bottle Create a new WINE bottle. remove remove_bottle Remove a WINE bottle. cork cork_command Cork a bottle, to be "uncorked" later. -press press_command +press press_command Press an installer into a WINE bottle. uncork uncork_command Uncork a bottle. diff --git a/src/bottles/help/cork b/src/bottles/help/cork new file mode 100644 index 0000000..fdc6f87 --- /dev/null +++ b/src/bottles/help/cork @@ -0,0 +1,5 @@ +cellar cork [-k|--keep] + +Copies the cellar.json file for to ~/.local/share/cellar/corked, then +removes the bottle from the filesystem (unless --keep is specified). This +bottle can then be uncorked later using the "uncork" command. diff --git a/src/bottles/help/press b/src/bottles/help/press new file mode 100644 index 0000000..c619cf6 --- /dev/null +++ b/src/bottles/help/press @@ -0,0 +1,8 @@ +cellar press [] + +Presses an installer into the wine bottle, first by copying the installer to +~/.local/share/cellar/pressed, then running it in the wine bottle. + +Options: + -n Don't actually execute the installer, just press it. This is useful for + preparing existing WINE bottles to be corked. diff --git a/src/bottles/help/uncork b/src/bottles/help/uncork new file mode 100644 index 0000000..e029348 --- /dev/null +++ b/src/bottles/help/uncork @@ -0,0 +1,14 @@ +cellar uncork + +Uncorks a bottle, based on the configuration for saved in +~/.local/share/cellar by a previous cork command. + +Specifically, and in order: + - First, the wine bottle is generated at ~/.wine. + - Then, the configuration is copied to the directory as "cellar.json" + - If the configuration has any winetricks saved, cellar will rerun them + automatically. + - If the configuration references any pressed installers, cellar will run + those in the new wine bottle as well. + +Effectively, "uncorking" a bottle regenerates it from a saved configuration.