Using the Command Line interface to upload a workflow 

Allie Hajian
  • Updated

The FireCloud Command Line Interface (CLI) provides another option to upload workflows (WDL) to the Method Repository.

  1. Download the FireCloud Command Line Interface. You can also run a Docker version without downloading to your local environment.

  2. Enter cd firecloud-cli in your Terminal to change directories.

  3. 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

  4. 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.

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.