Skip to content

Commit

Permalink
Merge branch 'feature_assets_cli' into snapshot_prod
Browse files Browse the repository at this point in the history
  • Loading branch information
stangch authored Jun 25, 2024
2 parents 3bf6fa6 + 70d2cc5 commit e41835a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Code Quality

on:
pull_request:
branches: [ mainline, release ]
branches: [ mainline, release, feature_assets_cli ]
workflow_call:
inputs:
branch:
Expand Down
15 changes: 10 additions & 5 deletions src/deadline/client/cli/_groups/asset_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* diff
* download
"""

import os
from pathlib import Path

Expand All @@ -32,7 +33,7 @@ def cli_asset():

@cli_asset.command(name="snapshot")
@click.option("--root-dir", required=True, help="The root directory to snapshot. ")
@click.option("--manifest-out", help="Destination path to directory for created manifest. ")
@click.option("--manifest-out", help="Destination path to directory where manifest is created. ")
@click.option(
"--recursive",
"-r",
Expand Down Expand Up @@ -107,7 +108,9 @@ def asset_snapshot(recursive, **args):


@cli_asset.command(name="upload")
@click.option("--manifest", help="The path to manifest folder of directory specified for upload. ")
@click.option(
"--manifest", help="The path to manifest folder of the directory specified for upload. "
)
@click.option("--farm-id", help="The AWS Deadline Cloud Farm to use. ")
@click.option("--queue-id", help="The AWS Deadline Cloud Queue to use. ")
@click.option(
Expand All @@ -127,10 +130,12 @@ def asset_upload(**args):

@cli_asset.command(name="diff")
@click.option("--root-dir", help="The root directory to compare changes to. ")
@click.option("--manifest", help="The path to manifest folder of directory to show changes of. ")
@click.option(
"--print",
help="Pretty prints diff information. ",
"--manifest", help="The path to manifest folder of the directory to show changes of. "
)
@click.option(
"--format",
help="Pretty prints diff information with easy to read formatting. ",
is_flag=True,
show_default=True,
default=False,
Expand Down

0 comments on commit e41835a

Please sign in to comment.