Skip to content

Commit

Permalink
Extending help message for source_path in 'stage copy' (#1158)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pjob authored Jun 4, 2024
1 parent ee7f598 commit 9dab2a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/snowflake/cli/plugins/stage/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def stage_list_files(
@app.command("copy", requires_connection=True)
def copy(
source_path: str = typer.Argument(
help="Source path for copy operation. Can be either stage path or local.",
help="Source path for copy operation. Can be either stage path or local. You can use a glob pattern for local files but the pattern has to be enclosed in quotes.",
show_default=False,
),
destination_path: str = typer.Argument(
Expand Down
4 changes: 3 additions & 1 deletion tests/__snapshots__/test_help_messages.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -6334,7 +6334,9 @@

╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ * source_path TEXT Source path for copy operation. Can be │
│ either stage path or local. │
│ either stage path or local. You can use a │
│ glob pattern for local files but the │
│ pattern has to be enclosed in quotes. │
│ [required] │
│ * destination_path TEXT Target directory path for copy operation. │
│ Should be stage if source is local or local │
Expand Down

0 comments on commit 9dab2a3

Please sign in to comment.