You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While implementing this first version of the API, I have begun to question whether calling the CLI is the correct way to do this.
The issues are:
BASH scripts can only return exit codes. As a result, it is difficult to get information from the commands, e.g. which version of PHP is the current default? (This can most likely be addressed using wplib.box.json, provided we can find a way to unequivocally ensure that the state of the box matches the information in the json file.)
While implementing this first version of the API, I have begun to question whether calling the CLI is the correct way to do this.
The issues are:
wplib.box.json, provided we can find a way to unequivocally ensure that the state of the box matches the information in the json file.)Other issues may arise, but these two are most obvious now that we are implementing the box console.