Skip to content

Commit

Permalink
[Chore] Update cli.py to add some comments
Browse files Browse the repository at this point in the history
Add some comments to explain the feature flag of `--enable-quick-look-share` implemented by #889 

Signed-off-by: Kent Huang <[email protected]>
  • Loading branch information
kentwelcome committed Oct 24, 2023
1 parent bf71b4a commit 972745e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions piperider_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ def dbt_select_option_builder():
]

feature_flags = [
# Quick Look (https://cloud.piperider.io/quick-look) is a public-facing page on PipeRider Cloud.
# Every user can paste the GitHub repo or PR URL, and PipeRider Cloud will analyze that URL by the CLI on the air.
# The reports on the Quick Look are default shared public with a limited time.
# PipeRider Cloud uses this feature flag to upload those reports to the Quick Look storage.
click.option('--enable-quick-look-share', envvar='PIPERIDER_ENABLE_QUICK_LOOK_SHARE',
is_flag=True, default=False, hidden=True, help='Enable share to Quick Look.')
]
Expand Down

0 comments on commit 972745e

Please sign in to comment.