Description

 This article defines the syntax to request a complete flush and update for a given G-Repository Client Repo.


Command to Flush and Update a G-Repository Client Repo


Syntax: -grcltf -grepo repoName

Example: genrocket -grcltf -grepo BankDemo


Example Usage


> genrocket -grcltf -grepo BankDemo


Are you absolutely sure you want to flush GRepository, /home/johnDoe/GRepositoryClient/BankDemo? (y/n): y


 Deleting file /Users/htaylor/GRepositoryClient/BankDemo/story_suite/BankMediumSetup.gstryste...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/story_suite/BankTypeSetup.gstryste...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/story_suite/BankSmallSetup.gstryste...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/story_suite/BankAccountStories.gstryste...

Deleting Directory /Users/htaylor/GRepositoryClient/BankDemo/story_suite...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/cases/BankingTables.gtdc...

Deleting Directory /Users/htaylor/GRepositoryClient/BankDemo/cases...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/BranchScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/CardProductScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/CardTypeScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/TransactionTypeScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/AccountScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/AccountLevelScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/TransactionScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/CustomerScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/AccountTypeScenario.grs...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario/CustomerAccountScenario.grs...

Deleting Directory /Users/htaylor/GRepositoryClient/BankDemo/scenario...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/rules/StartingBalanceRules.gtdr...

Deleting Directory /Users/htaylor/GRepositoryClient/BankDemo/rules...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario_chain/AccountTablesScenarioChain.grsc...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/scenario_chain/TypeTablesScenarioChain.grsc...

Deleting Directory /Users/htaylor/GRepositoryClient/BankDemo/scenario_chain...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/story_epic/PopulateAllForMediumTestData.gstryepc...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/story_epic/PopulateAllForSmallTestData.gstryepc...

Deleting Directory /Users/htaylor/GRepositoryClient/BankDemo/story_epic...

  Deleting file /Users/htaylor/GRepositoryClient/BankDemo/.grepository/g_repository_client.h2.db...


Checking for updates...

Processing AccountLevelScenario.grs - 0.043 ms

Processing AccountScenario.grs - 0.029 ms

Processing AccountTablesScenarioChain.grsc - 0.007 ms

Processing AccountTypeScenario.grs - 0.007 ms

Processing BankAccountStories.gstryste - 0.005 ms

Processing BankingTables.gtdc - 0.006 ms

Processing BankMediumSetup.gstryste - 0.006 ms

Processing BankSmallSetup.gstryste - 0.004 ms

Processing BankTypeSetup.gstryste - 0.004 ms

Processing BranchScenario.grs - 0.005 ms

Processing CardProductScenario.grs - 0.007 ms

Processing CardTypeScenario.grs - 0.005 ms

Processing CustomerAccountScenario.grs - 0.005 ms

Processing CustomerScenario.grs - 0.005 ms

Processing PopulateAllForMediumTestData.gstryepc - 0.006 ms

Processing PopulateAllForSmallTestData.gstryepc - 0.006 ms

Processing StartingBalanceRules.gtdr - 0.004 ms

Processing TransactionScenario.grs - 0.005 ms

Processing TransactionTypeScenario.grs - 0.005 ms

Processing TypeTablesScenarioChain.grsc - 0.004 ms


***** G-Repository Client update completed - 4s *****