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

added repositories urls to adapters

This commit is contained in:
Igor Chubin
2019-04-29 19:50:14 +02:00
parent 259c9bea8d
commit 868a78e38c
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -37,6 +37,7 @@ class CheatSheets(Adapter):
_adapter_name = "cheat.sheets"
_output_format = "code"
_repository_url = "https://github.com/chubin/cheat.sheets"
def __init__(self):
self._answers = []
+3
View File
@@ -19,6 +19,7 @@ class Tldr(Adapter):
_adapter_name = "tldr"
_output_format = "code"
_cache_needed = True
_repository_url = "https://github.com/tldr-pages/tldr"
def _get_list(self, prefix=None):
return [filename[:-3]
@@ -49,6 +50,8 @@ class Cheat(Adapter):
_adapter_name = "cheat"
_output_format = "code"
_cache_needed = True
_repository_url = "https://github.com/cheat/cheat"
_cheatsheet_files_prefix = "cheat/cheatsheets/"
def _get_list(self, prefix=None):
return _get_filenames(PATH_CHEAT_PAGES)
+1
View File
@@ -8,6 +8,7 @@ class Latenz(Adapter):
_adapter_name = "late.nz"
_output_format = "ansi"
_repository_url = "https://github.com/chubin/late.nz"
def _get_page(self, topic, request_options=None):
sys.path.append(PATH_LATENZ)
+1
View File
@@ -796,6 +796,7 @@ class LearnXinY(Adapter):
_output_format = 'code'
_cache_needed = True
_repository_url = "https://github.com/adambard/learnxinyminutes-docs"
def __init__(self):
self.adapters = _ADAPTERS