Repositories and workspaces are used to interact with formulas on Ritchie, but the way they work is different, check out:
workspace
You can use workspace commands to develop, edit and test formulas locally
.
repository
You can use repository commands to import formulas from Git repositories
and execute them.
Commands for repos and workspaces are similar, they allow the CLI to “see” available formulas on your local machine. Workspaces have higher priority than Repos, for example, if you use both commands for the same formulas' repositories, the workspaces' formulas will be executed.
For more information about workspace and repositories commands, check out the list of commands and flags.
Follow the next steps:
Step 1: Run this command:
rit add workspace
Step 2: Enter the requested input:
To list avalaible workspaces, you just have to run this command:
rit list workspace
If you’re not the only person updating the workspace (e.g: if it’s a cloned repository from Git) you may need to update the workspace to allow the CLI to “see” the newly available formulas or updates on your local machine after pulling the code.
To update a workspace, run this command:
rit update workspace
After that, select the workspace name and wait for the CLI output message:
To delete a workspace, run the command below:
rit delete workspace
After that, follow the next steps:
Step 1: Select the workspace name;
Step 2: Confirm you want to delete the workspace.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.