コード例 #1
0
def skip_requirements_option():
    """List of requirements to skip"""
    return planemo_option(
        "--skip_requirements",
        default='python,r-base,perl',
        help=
        "Comma-separated list of requirements which should be not be updated. Default is python,r-base,perl."
    )
コード例 #2
0
def skiplist_option():
    """List of XML files to skip"""
    return planemo_option(
        "--skiplist",
        default=None,
        help=
        "Skiplist file, containing a list of tools for which autoupdate should be skipped."
    )
コード例 #3
0
def test_option():
    """Test updated XML files"""
    return planemo_option("--test",
                          is_flag=True,
                          help="Test updated XML files.")
コード例 #4
0
def dry_run_option():
    """Perform a dry run autoupdate without modifying the XML files"""
    return planemo_option(
        "--dry-run",
        is_flag=True,
        help="Perform a dry run autoupdate without modifying the XML files.")