1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00
Commit Graph

186 Commits

Author SHA1 Message Date
Igor Chubin 528c6fbaec moved routing table to globals.py 2019-05-01 10:22:29 +02:00
Igor Chubin 2bf84e07a2 removed a reference to unused page /:share 2019-05-01 10:14:18 +02:00
Igor Chubin 857b07b3c5 adapter/latenz.py refactoring 2019-05-01 10:13:48 +02:00
Igor Chubin 407c8b6eff globals.py: minor changes 2019-05-01 09:55:50 +02:00
Igor Chubin 6a78a54537 configurable active adapters 2019-05-01 09:52:16 +02:00
Igor Chubin acbb260e9c adapter/adapter.py: identify/find adapter by name 2019-05-01 09:31:57 +02:00
Igor Chubin 22dfb74f72 lib/adapter/__init__.py: load adapter modules dynamically 2019-05-01 09:30:56 +02:00
Igor Chubin cb7507686c lib/globals.py: partial cleanup 2019-04-30 22:54:10 +02:00
Igor Chubin 3bd31f94a4 adapter/adapter.py: minor clean up 2019-04-30 22:53:40 +02:00
Igor Chubin 0060f6c8fc a couple of functions documented 2019-04-30 22:52:54 +02:00
Igor Chubin be47625960 taking Tldr and Cheat from corrent modules 2019-04-30 22:48:45 +02:00
Igor Chubin 19ba5bafad adapter/cmd.py: tldr and cheat moved to separate modules 2019-04-30 22:46:42 +02:00
Igor Chubin d02b0efb70 lib/adapter/rosetta.py: use CheatSheets.local_repository_location() instead of PATH_CHEAT_SHEETS 2019-04-30 22:45:48 +02:00
Igor Chubin b51a38fd3a new adapter abstract class for repositories: RepositoryAdapter 2019-04-30 22:35:29 +02:00
Igor Chubin 86650ccd6c refactored adapter/cheat_sheets.py 2019-04-30 22:34:35 +02:00
Igor Chubin 016ebb1661 new adapter modules: cheat_cheat, tldr 2019-04-30 22:29:41 +02:00
Igor Chubin dbde5e00c5 separated the Cheat Adapter to a module 2019-04-30 22:29:09 +02:00
Igor Chubin 58af6648c8 separated the Tldr Adapter to a module 2019-04-30 22:28:28 +02:00
Igor Chubin 2d59158b4b lib/adapter/internal.py: minor fix 2019-04-30 22:25:39 +02:00
Igor Chubin 0dda89c108 lib/frontend/ansi.py: minor fix 2019-04-30 22:25:17 +02:00
Igor Chubin 0f128a91b2 added lib/standalone.py for queries in standalone mode 2019-04-30 22:24:56 +02:00
Igor Chubin c0ac121809 added lib/fetch.py: to fetch/update repositories 2019-04-29 20:26:16 +02:00
Igor Chubin bc2266a864 initial support for repositories fetch/update 2019-04-29 20:25:52 +02:00
Igor Chubin c160017593 use yaml.SafeLoader 2019-04-29 20:08:16 +02:00
Igor Chubin caf32b7c55 globals.py: added fatal() function 2019-04-29 20:05:13 +02:00
Igor Chubin 7a05dc88e0 ignore non-existent learnxiny pages 2019-04-29 20:04:31 +02:00
Igor Chubin 1f8b2bdbb3 new adapter class: GitRepositoryAdapter 2019-04-29 20:01:43 +02:00
Igor Chubin 868a78e38c added repositories urls to adapters 2019-04-29 19:50:14 +02:00
Igor Chubin 259c9bea8d new cache method: delete(key) 2019-04-29 19:25:37 +02:00
Igor Chubin ab24b7951b Merge branch 'master' of https://github.com/chubin/cheat.sh 2019-02-23 22:22:16 +00:00
Igor Chubin 78649904e0 fixed minor bug in lib/cache.py 2019-02-23 22:22:13 +00:00
Igor Chubin 90631847ab renamed languages_data into fmt.comments in ansi.py 2019-02-23 22:21:30 +00:00
Igor Chubin 4fff68bfcb Merge branch 'master' of https://github.com/chubin/cheat.sh 2019-02-23 21:49:56 +00:00
Igor Chubin 6d74567209 updated cheat paths 2019-02-23 21:45:18 +00:00
Igor Chubin 1d99037284 added lib/postprocessing.py 2019-02-23 20:57:36 +00:00
Igor Chubin 7f2bf6cd2a minor html related fix 2019-02-23 20:51:23 +00:00
Igor Chubin e83fd89c8a routing refactoring (get_answer.py => routing.py + postprocessing.py) 2019-02-17 14:12:08 +01:00
Igor Chubin f70b13ac34 frontent/ansi.py minor fix 2019-02-17 14:10:43 +01:00
Igor Chubin 94870b8192 searching separated into search.py 2019-02-17 14:10:00 +01:00
Igor Chubin 50f4abacb0 caching separated into cache.py 2019-02-17 14:07:02 +01:00
Igor Chubin f3f3e6cf99 moved beautifier.py to fmt/comments.py 2019-02-17 00:54:29 +01:00
Igor Chubin fa3382bff7 routing further refactoring 2019-02-17 00:34:03 +01:00
Igor Chubin 56ec2a8221 parametrizing REDIS 2019-02-17 00:33:37 +01:00
Igor Chubin 7d37b8cc1f rosetta output format fixed 2019-02-16 21:12:52 +01:00
Igor Chubin 941136f357 removed hanging spaces 2019-02-16 21:12:21 +01:00
Igor Chubin c59bdab2f2 cheat_wrapper.py splitted into fmt/ and frontend/ 2019-02-16 20:11:34 +01:00
Igor Chubin 8fcb4ddd4e initial octave support (#121) 2019-02-08 22:22:07 +00:00
Igor Chubin b02a8ff4ad adapter refactoring: separated superclass 2019-02-08 18:08:51 +00:00
Igor Chubin f5740599d8 new adapter: rosetta (#112) 2019-02-08 18:08:17 +00:00
Igor Chubin b0e7ac46a8 adapters refactoring 2019-02-08 18:04:45 +00:00