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 <kent@infuseai.io>
  • Loading branch information
kentwelcome authored Oct 24, 2023
1 parent 50d19c5 commit a09d21b
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 a09d21b

Please sign in to comment.