Skip to content

Commit

Permalink
show create command (#1278)
Browse files Browse the repository at this point in the history
* show create command

* update snapshots
  • Loading branch information
sfc-gh-pczajka authored Jul 4, 2024
1 parent cafc8a7 commit f4989e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/cli/plugins/object/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def describe(
)


@app.command(name="create", requires_connection=True, hidden=True)
@app.command(name="create", requires_connection=True)
def create(
object_type: str = ObjectArgument,
object_attributes: Optional[List[str]] = ObjectAttributesArgument,
Expand Down
6 changes: 6 additions & 0 deletions tests/__snapshots__/test_help_messages.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -2986,6 +2986,9 @@
| --help -h Show this message and exit. |
+------------------------------------------------------------------------------+
+- Commands -------------------------------------------------------------------+
| create Create an object of a given type. Check |
| documentation for the list of supported objects |
| and parameters. |
| describe Provides description of an object of given type. |
| drop Drops Snowflake object of given name and type. |
| list Lists all available Snowflake objects of given |
Expand Down Expand Up @@ -7907,6 +7910,9 @@
| --help -h Show this message and exit. |
+------------------------------------------------------------------------------+
+- Commands -------------------------------------------------------------------+
| create Create an object of a given type. Check |
| documentation for the list of supported objects |
| and parameters. |
| describe Provides description of an object of given type. |
| drop Drops Snowflake object of given name and type. |
| list Lists all available Snowflake objects of given |
Expand Down

0 comments on commit f4989e1

Please sign in to comment.