* fix(docs): added margin between sections

* fix: news params and descend

* fix: fixed sort

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
This commit is contained in:
jose-donato
2022-11-01 21:05:39 +00:00
committed by GitHub
parent f6de56566d
commit 520a5fe04a

View File

@@ -183,6 +183,21 @@ class DueDiligenceController(CryptoBaseController):
"-l": "--limit",
"--descend": {},
}
choices["news"] = {
"--sort": {c: {} for c in cryptopanic_model.SORT_FILTERS},
"-s": "--sort",
"--limit": {str(c): {} for c in range(1, 100)},
"-l": "--limit",
"--descend": {},
"--urls": {},
"-u": "--urls",
"--kind": {c: {} for c in cryptopanic_model.CATEGORIES},
"-k": "--kind",
"--filter": {c: {} for c in cryptopanic_model.FILTERS},
"-f": "--filter",
"--region": {c: {} for c in cryptopanic_model.REGIONS},
"-r": "--region",
}
choices["mt"] = {c: None for c in self.messari_timeseries}
choices["mt"]["-i"] = {c: None for c in messari_model.INTERVALS_TIMESERIES}
choices["mcapdom"]["-i"] = {