There was an issue with the smart cli where running smart dashboard with arguments wasn't calling the correct cli function in the dashboard repo in order to build itself, however, smart-dash was working perfectly fine. It turns out that calling smart dashboard was invoking the execute function and entirely bypassing the cli function which actually runs streamlit with the correct arguments attached.
Note: If this is approved, there will need to be a slight change made to the SmartSim repo as well. In plugin.py when calling dynamic_execute, the first parameter should be changed to "smartdashboard"
There was an issue with the
smart
cli where runningsmart dashboard
with arguments wasn't calling the correctcli
function in the dashboard repo in order to build itself, however,smart-dash
was working perfectly fine. It turns out that callingsmart dashboard
was invoking theexecute
function and entirely bypassing thecli
function which actually runs streamlit with the correct arguments attached.Note: If this is approved, there will need to be a slight change made to the SmartSim repo as well. In
plugin.py
when callingdynamic_execute
, the first parameter should be changed to"smartdashboard"
Another note: credit goes to Toast