Commit Graph

1190 Commits

Author SHA1 Message Date
Chris Lane
963496db86 Restored -d functionality to original
During the last commit, the -d functionality was changed (likely
unintentionally) such that it outputted a raw Python list rather than
lines printed to stdout. I've restored the original functionality,
because the autocompletion scripts rely upon it.
2013-09-19 19:05:22 -04:00
Chris Lane
da2b0a872d Deleted cruft
Deleted a 'foo' cheatsheet I accidentally committed while testing.
2013-09-19 18:45:43 -04:00
Chris Lane
bbed1c5851 Removed the -c option from argparse
A previous revision merged the functionality implemented by the -c and
-e options, but the -c option was reintroduced during the last revision
(probably) by accident. I took that out given that it no longer serves
a purpose.
2013-09-19 18:43:56 -04:00
roemer_j
a0cfee02d2 Revert Print back to main, would be easier to integrate other positional option like that 2013-09-16 04:10:45 +02:00
roemer_j
c87e741f34 Made a OO refactoring, cleaner in my mind 2013-09-16 04:07:34 +02:00
roemer_j
1e1520ce56 Removed old help, just forgot to remove at first commit 2013-09-16 03:28:08 +02:00
roemer_j
526a9f595a Refactored for argparse, the help output dont remain the same : too much sheets so I thought that do not print cheatlist every time could be a good things. Added description + epilogue (examples) to the standart argparse output. 2013-09-16 03:26:20 +02:00
Matthieu Keller
0501f8cbfe correction 2013-09-15 17:34:15 +02:00
Johann Saunier
98b254b799 2to3 2013-09-15 11:02:27 +02:00
Chris Lane
5a026dfb41 Merge pull request #94 from fmunch/uname
Added uname cheatsheet
2013-09-14 18:20:40 -07:00
Chris Lane
4224acbc5c Merge pull request #95 from bfontaine/patch-1
Minor typo in README fixed
2013-09-14 18:19:54 -07:00
Baptiste Fontaine
d3914c0265 Typo fixed 2013-09-15 01:41:00 +02:00
Florent Munch
8dae29ad42 Added information for uname -v 2013-09-15 01:07:04 +02:00
Florent Munch
9f182d684d Added uname cheatsheet 2013-09-15 00:57:06 +02:00
Chris Lane
c819997844 Merge pull request #93 from fmunch/od
Added od cheatsheet
2013-09-14 14:10:41 -07:00
Florent Munch
71e9f11e83 Added od cheatsheet 2013-09-14 22:19:46 +02:00
Chris Lane
78532d804b Fixed a typo in the README. 2013-09-14 12:23:19 -04:00
Chris Lane
f1cdfa6dd9 Updated the README. 2013-09-14 11:35:16 -04:00
Chris Lane
30e4078688 Merge branch 'master' of github.com:chrisallenlane/cheat
* 'master' of github.com:chrisallenlane/cheat:
  tar: List content of gz/bz2 archives
2013-09-14 10:52:35 -04:00
Chris Lane
70e61d4e1f Trivial changes. Removed a copyright notice that I hadn't noticed before, and deleted a superfluous 'exit()' call. 2013-09-14 10:52:11 -04:00
Chris Lane
305584196d Merge pull request #92 from Mic92/patch-1
tar: List content of gz/bz2 archives
2013-09-14 07:37:22 -07:00
Chris Lane
587dbf3c11 Integrated the autocompletion scripts into the project, and rewrote the bash version to take advantage of the new -l option. 2013-09-14 10:27:53 -04:00
Chris Lane
b24e2b7fd2 Merge branch '0rax-master' into dev
* 0rax-master:
  Added autocomplete for bash
2013-09-14 10:17:45 -04:00
Chris Lane
a07079957a Resolved a merge conflict and made a minor commenting change. 2013-09-14 10:13:54 -04:00
Chris Lane
5639c995c3 Updated the help to reflect the new options. 2013-09-14 10:06:45 -04:00
Chris Lane
5e17da0246 Bug fix on the last commit. 2013-09-14 10:05:13 -04:00
Chris Lane
ba4093620a Merged the 'create' and 'edit' functionality in order to DRY out the code a bit, because (IMO) the user experience is actually somewhat better when these two commands are merged. 2013-09-14 09:58:33 -04:00
Jörg Thalheim
a9922d7c7b tar: List content of gz/bz2 archives 2013-09-14 15:48:57 +02:00
Chris Lane
34f3eafb1a Created the -l option to list cheatsheets. I believe this is goign to be helpful to expose to scripts that are attempting to implement autocomplete. 2013-09-14 09:36:15 -04:00
Chris Lane
be7bc488b0 Breaking logic in the main function out into smaller components. 2013-09-14 09:23:33 -04:00
Chris Lane
1894ce6297 Making some minor code readability changes. 2013-09-14 09:06:30 -04:00
Chris Lane
48cdbdd836 Moved around some code blocks for the sake of readabilty. 2013-09-14 08:56:36 -04:00
Chris Lane
cef9cde3f3 Merge branch 'master' of https://github.com/0rax/cheat into 0rax-master
* 'master' of https://github.com/0rax/cheat:
  Added autocomplete for bash
2013-09-14 08:40:35 -04:00
Chris Lane
4b7a1110f3 Merge pull request #91 from ImmortalPC/master
Add apparmor
2013-09-13 17:55:58 -07:00
Chris Lane
54547459b2 Merge pull request #84 from maggick/patch-11
Create sort
2013-09-13 17:52:29 -07:00
Chris Lane
dc300f83eb Merge pull request #88 from ABorgna/master
Cheatsheet updates
2013-09-13 17:51:10 -07:00
Chris Lane
dc5dbdbb02 Merge pull request #89 from amitsaha/netstat_update
cheatsheets/netstat: Which process is listening on a port
2013-09-13 17:48:50 -07:00
Chris Lane
30640aa0e4 Merge pull request #87 from brunob/master
add minimal screen cheatsheet
2013-09-13 17:47:28 -07:00
ImmortalPC
385ac4d484 Add apt-get 2013-09-13 00:34:09 +02:00
ImmortalPC
2c86db1aac Add a description 2013-09-13 00:26:42 +02:00
ImmortalPC
3deb00bb0a Add apparmor 2013-09-13 00:21:50 +02:00
roemer_j
8b8d06f0e1 Added autocomplete for bash 2013-09-12 03:25:10 +02:00
Amit Saha
50fd4c6638 cheatsheets/netstat: Which process is listening on a port 2013-09-12 09:59:25 +10:00
ABorgna
acbd863277 Added ifconfig cheatsheet 2013-09-11 01:00:59 -03:00
ABorgna
60e2e66014 Added chown cheatsheet 2013-09-11 00:33:55 -03:00
ABorgna
a44c824f59 Added at cheatsheet 2013-09-11 00:21:44 -03:00
ABorgna
ba904a2bd6 Update vim
Using same format as 7z and emacs
2013-09-10 23:19:48 -03:00
b_b
eb00ab5d0b add minimal screen cheatsheet 2013-09-10 17:04:40 +02:00
Matthieu Keller
d4a40a9b20 Update sort 2013-09-08 15:43:25 +02:00
Matthieu Keller
acb1a827ec Create sort 2013-09-08 15:23:00 +02:00