Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Update abstra-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
abstra-bot committed Mar 17, 2023
1 parent bf1c512 commit ce69175
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion abstra_cli/resources/dashes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
NAME_PARAMETERS = ["name", "title"]
PATH_PARAMETERS = ["path"]
CODE_PARAMETERS = ["code", "c"]
SHOW_SIDEBAR_PARAMETERS = ["show_sidebar"]
BACKGROUND_PARAMETERS = ["background"]
OTHER_PARAMETERS = [
"main_color",
Expand All @@ -18,6 +19,7 @@
"log_messages",
"brand_name",
]

LAYOUT_PARAMETERS = ["layout"]
NON_FLAG_PARAMETERS = (
NAME_PARAMETERS
Expand All @@ -26,8 +28,9 @@
+ BACKGROUND_PARAMETERS
+ OTHER_PARAMETERS
+ LAYOUT_PARAMETERS
+ SHOW_SIDEBAR_PARAMETERS
)
FLAG_PARAMETERS = ["auto_start", "allow_restart", "show_sidebar", "enabled"]
FLAG_PARAMETERS = ["enabled"]
DASH_PARAMETERS = FLAG_PARAMETERS + NON_FLAG_PARAMETERS


Expand Down

0 comments on commit ce69175

Please sign in to comment.