Skip to contents

Delete an application. This removes everything associated with the application (depending on how far through deployment you might have been); the real and staging instances, the library, the deploy key (if private) and the source code. You might want to use this when deleting an application that is no longer needed, or if something untoward has happened and it would be convenient to start from a clean state.

Usage

twinkle_delete_app(name, production = FALSE)

Arguments

name

Name of the application within the twinkle configuration. We don't check that the application actually exists within your configuration (or indeed even read your configuration at all) because the application for deletion might have been removed from the configuration already.

production

Logical, indicating if we should additionally delete on production too. Otherwise production is left alone. This allows you to totally redeploy an application but leave it running until you are happy with the version, then sync it into place.

Value

Nothing