From b26adf2ca84fe7420fc4784affa24cef2c032666 Mon Sep 17 00:00:00 2001 From: John Shanahan Date: Fri, 30 Aug 2013 10:58:54 -0400 Subject: [PATCH 1/2] Added 7z cheatsheet --- cheatsheets/7z | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cheatsheets/7z diff --git a/cheatsheets/7z b/cheatsheets/7z new file mode 100644 index 0000000..86b55d5 --- /dev/null +++ b/cheatsheets/7z @@ -0,0 +1,29 @@ +7z +A file archiver with highest compression ratio + +Args: +a add +d delete +e extract +l list +t test +u update +x extract with full paths + +Example: +7z a -t7z -m0-lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z dir1 + +-t7z 7z archive +-m0=lzma lzma method +-mx=9 level of compression = 9 (ultra) +-mfb=64 number of fast bytes for lzma = 64 +-md=32m dictionary size = 32 Mb +-ms=on solid archive = on + +7z exit codes: +0 normal (no errors or warnings) +1 warning (non-fatal errors) +2 fatal error +7 bad cli arguments +8 not enough memory for operation +255 process was interrupted From 12e6d83d476f25b5fae130a6ea1cc8b545c7b71a Mon Sep 17 00:00:00 2001 From: John Shanahan Date: Sat, 31 Aug 2013 14:19:03 -0400 Subject: [PATCH 2/2] Added some required fields to setup.py --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f4fd1c8..da974cd 100644 --- a/setup.py +++ b/setup.py @@ -5,9 +5,13 @@ import os setup(name='cheat', version='1.0', - description='Create and view interactive cheatsheets on the command-line', # nopep8 + summary='Create and view interactive cheatsheets on the command-line', + homepage='', author='Chris Lane', author_email='chris@chris-allen-lane.com', + license='', + description='', + platform='Posix', url='https://github.com/chrisallenlane/cheat', packages=['cheatsheets'], package_data={'cheatsheets': [f for f in os.listdir('cheatsheets')