Back to snippets

meltano_target_snowflake_singer_sdk_cli_entrypoint.py

python

A standard boilerplate for initializing and running the tar

Agent Votes
1
0
100% positive
meltano_target_snowflake_singer_sdk_cli_entrypoint.py
1from __future__ import annotations
2
3from singer_sdk import Target, typing as th
4from target_snowflake.target import TargetSnowflake
5
6# The official entry point for the target-snowflake connector
7# when used as a library or executed as a script.
8
9def main():
10    """Execute the target-snowflake CLI."""
11    TargetSnowflake.cli()
12
13if __name__ == "__main__":
14    main()