hello version 0.2

This commit is contained in:
Nicholas O'Connor 2017-03-28 13:36:15 -07:00
parent c3b8fae585
commit e58fb7d78e
4 changed files with 28 additions and 1 deletions

View File

@ -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.

5
src/bottles/help/cork Normal file
View File

@ -0,0 +1,5 @@
cellar cork [-k|--keep] <bottle>
Copies the cellar.json file for <bottle> 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.

8
src/bottles/help/press Normal file
View File

@ -0,0 +1,8 @@
cellar press [<options>] <installer>
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.

14
src/bottles/help/uncork Normal file
View File

@ -0,0 +1,14 @@
cellar uncork <bottle>
Uncorks a bottle, based on the configuration for <bottle> saved in
~/.local/share/cellar by a previous cork command.
Specifically, and in order:
- First, the wine bottle is generated at ~/.wine.<bottle>
- 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.