-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass in project, domain and version in register rather than serialize (…
- Loading branch information
Showing
10 changed files
with
412 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
import click as _click | ||
|
||
CTX_PROJECT = "project" | ||
CTX_DOMAIN = "domain" | ||
CTX_VERSION = "version" | ||
CTX_TEST = "test" | ||
CTX_PACKAGES = "pkgs" | ||
CTX_NOTIFICATIONS = "notifications" | ||
|
||
|
||
project_option = _click.option( | ||
"-p", | ||
"--project", | ||
required=True, | ||
type=str, | ||
help="Flyte project to use. You can have more than one project per repo", | ||
) | ||
domain_option = _click.option( | ||
"-d", "--domain", required=True, type=str, help="This is usually development, staging, or production", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.