Commit Graph

35 Commits

Author SHA1 Message Date
Igor Radovanovic
8a1f64b71c Remove rcontext flag 2024-05-10 13:51:37 +02:00
Igor Radovanovic
46fa3aaba4 Remove language from settings as it is not supported. 2024-05-10 13:49:13 +02:00
hjoaquim
d1301da644 fix global flag on local routines 2024-05-10 12:35:34 +01:00
hjoaquim
03915f8d8e proper checking of max_obbjects_exceeded 2024-05-10 11:41:35 +01:00
Igor Radovanovic
aa53005224 Point to new docs on first launch. 2024-05-10 12:04:29 +02:00
Igor Radovanovic
a1c6b19f9b Change the exit message 2024-05-10 11:31:22 +02:00
Igor Radovanovic
7a16afdf51 Save routines locally if not logged in. 2024-05-10 11:01:07 +02:00
Igor Radovanovic
81b9e1243a Merge branch 'develop' into feature/james-didier-feedback 2024-05-10 08:45:23 +02:00
montezdesousa
0b9b12d198 [Feature] - Redefined standard fields & multiple_items_allowed property changes (#6377)
* feat: add field annotation and replace multiple items by dict

* comments & details

* fix: fix api & update docs website

* ^

* remove empty info

* descriptions

* descriptions

* fix reference.json

* remove debug code

* remove debug code

* docstring

* docstring

* fix: standard fields propagate to providers

* comment

* better

* better

* better

* better

* better

* mypy fixes

* mypy fixes

* reference

* cli fix: if the argument is required (aka standard) it means we don't want to touch it, unless choices need to be added

* cli fix: touch the help message (with the available providers) only if it's not on the signature (aka standard field)

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: hjoaquim <henriquecjoaquim@gmail.com>
2024-05-09 17:50:24 +00:00
James Maslek
3c39a3f0df correct hub link 2024-05-09 10:35:52 -04:00
hjoaquim
6f0085005e config to set number of cached results to display 2024-05-09 00:45:14 +01:00
hjoaquim
2198397859 prepend OBB to use on the --data 2024-05-09 00:23:45 +01:00
hjoaquim
be8749ca26 display info instead of sections and display cached results 2024-05-09 00:14:34 +01:00
hjoaquim
0dc4b82286 display cached results on every platform menu's help 2024-05-09 00:14:05 +01:00
hjoaquim
db1eba5f3c left spacing regardless description 2024-05-09 00:13:26 +01:00
hjoaquim
0cb1b37652 keep command on the obbject so it can be shown on the results 2024-05-08 23:08:12 +01:00
hjoaquim
48e0d65172 default name len to 23 2024-05-07 19:07:18 +01:00
hjoaquim
e8f5872ae3 use the PATH instead in the top of the menu help 2024-05-07 18:48:08 +01:00
hjoaquim
63461c5c98 if there's no menu description on reference.json, use the commands of that menu to create a pseudo description 2024-05-07 18:40:59 +01:00
hjoaquim
15f2b81434 add a new line only to separate menus and commands 2024-05-07 18:19:54 +01:00
montezdesousa
712ccbc1c6 Bugfix/cli max rows (#6374)
* fix: cli max rows

* fix: settings menu

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
2024-05-07 18:12:58 +01:00
Henrique Joaquim
4e8545461a Merge branch 'develop' into feature/james-didier-feedback 2024-05-07 15:00:37 +01:00
Henrique Joaquim
756eebdf07 [Feature] Handle repeated non standard arguments (#6366)
* remove about message

* handle repeated arguments

* accomodate all the choices from different providers

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-07 13:57:35 +00:00
hjoaquim
d0d1965115 styling: no new lines after settings 2024-05-07 12:13:07 +01:00
hjoaquim
c5f4460f0b ommit coverage from menus 2024-05-07 10:13:26 +01:00
hjoaquim
41e4eac9d1 show msg only if it's an OBBject 2024-05-07 10:11:36 +01:00
hjoaquim
90a84a6ad9 remove comment 2024-05-07 10:10:45 +01:00
hjoaquim
5bf2bbd76a section description 2024-05-07 09:58:48 +01:00
Henrique Joaquim
380891de4e [Feature] Improve OBBject Registry (#6364)
* registry belongs to the session instead

* help message on results

* abstract the update_completer a bit and also force the re-link of newly created obbjects so they're immidiatly available

* new settings to control the obbject registry

* new method to remove a certain index from the stack

* using the new flags to control messages on the registyr

* fix: add spaces to results --help

* Update cli/openbb_cli/controllers/feature_flags_controller.py

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* rename to settings_controller

* typo wrong attr

* better messages and actually removing the oldest obbject

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-05-06 14:49:22 +00:00
montezdesousa
cd4e36e7fe [BugFix] - Remove multiple .envs (#6363)
* Remove .envs

* Clean menu_text.py

* Remove TODO
2024-05-03 10:32:10 +00:00
Igor Radovanovic
18115e4e91 [Enhancement] - Sanitize sensitive data from .cli.his (#6361)
* Sanitize sensitive data from .cli.his

* fix long command providers

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-05-02 11:21:48 +00:00
Henrique Joaquim
409703387b avoid range index as it breaks interactive tables (#6360) 2024-05-02 11:07:40 +00:00
montezdesousa
a0d580ab25 [Feature] - Display command providers (#6355)
* fix: avoid calling Session() multiple times

* rename session refs

* fix: cmd text

* fix: avoid Session()

* fix: add providers by cmd

* fix: timezones

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-01 21:17:02 +00:00
Henrique Joaquim
9a02e501f8 create a title out of the route being used to use it as table title (#6356) 2024-05-01 17:52:13 +00:00
montezdesousa
cc15a770da [Feature] - Rename terminal folder (#6349)
* rename terminal folder

* docstring

* Rename to openbb_cli

* rename constant

* rename .his file

* pyproject.toml

* Update pre-commit and remove docker-build.yml
2024-04-30 12:42:31 +00:00