Closed ehmatthes closed 2 months ago
__init__()
deploy()
_confirm_preliminary()
_confirm_automate_all()
_validate_platform()
_add_platformsh_settings()
_get_platformsh_settings()
_generate_platform_app_yaml()
_add_requirements()
_check_allowed_hosts()
_make_platform_dir()
_generate_services_yaml()
_conclude_automate_all()
_show_success_message()
_prep_automate_all()
_validate_cli()
_get_platformsh_project_name()
_get_org_name()
_confirm_use_org_name()
deploy()
.# fmt: off
directive.platform project:info
. What does the output look like? How can we have the user select the project to use? Model after Fly.io?_get_deployed_project_name()
_get_org_name()
Output of platform project:into --yes --format csv
:
$ platform project:info --yes --format csv
Property,Value
id,<project-id>
created_at,2024-04-28T04:56:53+00:00
updated_at,2024-04-28T04:58:27+00:00
attributes,{ }
title,my_blog_project
description,
owner,<owner-hash>
namespace,platformsh
organization,<org-id>
default_branch,main
status,"code: provisioned
message: ok"
timezone,America/Denver
region,us-3.platform.sh
repository,"url: '<id>@git.us-3.platform.sh:<id>.git'
client_ssh_key: <redacted>
default_domain,
subscription,"<redacted>
plan: development
environments: 3
storage: 5120
included_users: 1
subscription_management_uri: 'https://console.platform.sh/-/users/<id>/...
restricted: false
suspended: false
user_licenses: 1"
...
Closed by #309.
_get_deployed_project_name()
as an example.Resources