utils/clone_manager library
Functions
-
cleanupPartialClone(
String clientId) → Future< void> - Cleans up a partial or broken clone by removing its associated directory.
-
configureApp(
ConfigureCommandModel callModel) → Future< Map< String, dynamic> ?> - Configures an application clone based on a provided ConfigureCommandModel.
-
createClone(
) → Future< void> - Initiates the process of creating a new Flutter project clone.
-
generateCloneConfigFile(
CloneConfigModel configModel) → Future< void> -
Generates the
clone_configs.dartfile based on the providedconfigModel. -
getCurrentCloneConfig(
) → Future< void> - Retrieves and displays the currently active application's name and bundle ID.
-
listClients(
) → void - Lists all currently available Clonify project clones.
-
parseConfigFile(
String clientId) → Future< Map< String, dynamic> > -
updateYamlVersionInPubspec(
String newVersion) → Future< void> -
Updates the 'version' field in the
pubspec.yamlfile.