envContent static method
- @Deprecated('Migrated to install.yaml publish:; will be removed in V2')
- required String appName,
Generates a .env template file with sensible defaults.
appName is written as the default value for APP_NAME.
Implementation
@Deprecated('Migrated to install.yaml publish:; will be removed in V2')
static String envContent({required String appName}) {
return StubLoader.replace(StubLoader.load('install/env'), {
'appName': appName,
});
}