The FireCloud Command Line Interface (CLI) provides another option to upload workflows (WDL) to the Method Repository.
-
Download the FireCloud Command Line Interface. You can also run a Docker version without downloading to your local environment.
-
Enter
cd firecloud-cli
in your Terminal to change directories. -
Enter the FireCloud CLI push command. The box below shows an example of a command you use to push a method.
firecloud -u [https://api.firecloud.org/api](https://api.firecloud.org/api) -m push -t Workflow -s broad-firecloud-jn-test -n test-method -y 'Test synopsis' file.wdl
-
You see a "Successfully pushed" message indicating your method uploaded to FireCloud. You can also confirm your Method pushed by viewing the Method Repository. If your push failed, you see an error message. To troubleshoot, please share the error message in the Forum.
Description of CLI Commands
-
Enter -u, then state the URL of the FireCloud environment.
-
Enter -m, then state the command (push).
-
Enter -t, then state Workflow as the type for pushing your Method.
-
Enter -s, then state the Method Namespace.
-
Enter -n, then state the Method name.
-
Enter -y, then describe your Method
-
Finally, enter the file name for your WDL.