{"id":19713401,"url":"https://github.com/ctsit/tool-shed","last_synced_at":"2026-03-04T11:31:50.471Z","repository":{"id":79003849,"uuid":"21664363","full_name":"ctsit/tool-shed","owner":"ctsit","description":"A collection of tools and coding guidelines used on CTS-IT projects","archived":false,"fork":false,"pushed_at":"2014-09-24T20:53:54.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-02-27T20:32:48.060Z","etag":null,"topics":["reviewphilip"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctsit.png","metadata":{"files":{"readme":"README-docopt.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-09T18:45:51.000Z","updated_at":"2023-11-07T12:38:00.000Z","dependencies_parsed_at":"2023-02-25T09:00:32.167Z","dependency_job_id":null,"html_url":"https://github.com/ctsit/tool-shed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ctsit/tool-shed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Ftool-shed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Ftool-shed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Ftool-shed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Ftool-shed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctsit","download_url":"https://codeload.github.com/ctsit/tool-shed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctsit%2Ftool-shed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reviewphilip"],"created_at":"2024-11-11T22:21:54.974Z","updated_at":"2026-03-04T11:31:50.436Z","avatar_url":"https://github.com/ctsit.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docopt\n\n## Introduction\n\n**doctopt** helps in defining an interface for any command-line application.\n\n## Implementation\nBy using *docopt*, we can eliminate the difficulty of many of conventional argument parsers. For adopting to *docopt* just write the following in the comments of the code file.\n\n1. Application name\n2. Usage\n3. List of options\n\n## Installation\n\n[Github repo](https://github.com/docopt/docopt)\n\n\tsudo easy_install docopt\n\n## Example\n\"\"\"\n\nREDi - Converter from raw clinical data in XML format to REDCap API data\n\nUsage:\n\t\n\tredi.py -h | --help\n\tredi.py [-v] -c=\u003cconfig-path\u003e -k [-e] [-d=\u003cis_it_dryrun\u003e]\n\nOptions:\n\n    -h --help                   show this help message and exit\n    -v --verbose                Increase verbosity of output\n    -c --config-path=\u003cpath\u003e     Specify the path to the configuration directory\n    -k --keep                   Specify `yes` to preserve the files generated during execution\n    -e --emrdata                Specify `yes` to get EMR data\n    -d --dryrun=\u003cis_it_dryrun\u003e  To execute redi.py in dry run state. This is to be\n                                able to test each release by doing a dry run, where\n                                the data is fetched and processed but not transferred\n                                to the production REDCap. Email is also not sent. The\n                                processed data is stored as output files under the\n                                \"out\" folder under project root. No need to use -k or\n                                provide any input when -d is used. [default: yes]\n\"\"\"\n\nfrom docopt import docopt\n\nprint docopt ( \\__doc__, version= 'Redi v1.0')\n\n## Explanation of example\n\n* Start the comments\n* 'REDi' : it is the application name\n* Usage:  This prints the usage guide of the application, when given a wrong argument\n* Options  : This is the list of the options that the application 'image.py' can be called with.\n\n\t*redi.py -h | --help* : indicates to display the help with all options available\n\t*redi.py [-v] -c=\u003cconfig-path\u003e -k [-e] [-d=\u003cis_it_dryrun]* : the options in *[]* indicates it is an optional one. but the option *-k* indicates that it is a mandatory option and its default value is defined against its option description.\n\n\n## References\n\n* \u003chttp://docopt.org\u003e\n* \u003chttp://try.docopt.org\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctsit%2Ftool-shed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctsit%2Ftool-shed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctsit%2Ftool-shed/lists"}