-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Move cli to presentation (#1774)
Fixes #1734 ## Test Plan There is no changes besides cosmetic. ## Checklist - [x] Unit tested - [x] Integration tests updated
- Loading branch information
Showing
90 changed files
with
180 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
test_runner/src/main/kotlin/ftl/cli/firebase/test/AndroidCommand.kt
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
test_runner/src/main/kotlin/ftl/cli/firebase/test/IosCommand.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...er/src/main/kotlin/ftl/cli/AuthCommand.kt → ...otlin/ftl/presentation/cli/AuthCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...rc/main/kotlin/ftl/cli/FirebaseCommand.kt → ...n/ftl/presentation/cli/FirebaseCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
...er/src/main/kotlin/ftl/cli/MainCommand.kt → ...otlin/ftl/presentation/cli/MainCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../main/kotlin/ftl/cli/auth/LoginCommand.kt → ...ftl/presentation/cli/auth/LoginCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../kotlin/ftl/cli/firebase/CancelCommand.kt → ...resentation/cli/firebase/CancelCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...kotlin/ftl/cli/firebase/RefreshCommand.kt → ...esentation/cli/firebase/RefreshCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...in/kotlin/ftl/cli/firebase/TestCommand.kt → .../presentation/cli/firebase/TestCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
test_runner/src/main/kotlin/ftl/presentation/cli/firebase/test/AndroidCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package ftl.presentation.cli.firebase.test | ||
|
||
import ftl.presentation.cli.firebase.test.android.AndroidDoctorCommand | ||
import ftl.presentation.cli.firebase.test.android.AndroidLocalesCommand | ||
import ftl.presentation.cli.firebase.test.android.AndroidModelsCommand | ||
import ftl.presentation.cli.firebase.test.android.AndroidOrientationsCommand | ||
import ftl.presentation.cli.firebase.test.android.AndroidRunCommand | ||
import ftl.presentation.cli.firebase.test.android.AndroidTestEnvironmentCommand | ||
import ftl.presentation.cli.firebase.test.android.AndroidVersionsCommand | ||
import ftl.util.PrintHelp | ||
import picocli.CommandLine.Command | ||
|
||
@Command( | ||
name = "android", | ||
synopsisHeading = "", | ||
subcommands = [ | ||
AndroidRunCommand::class, | ||
AndroidDoctorCommand::class, | ||
AndroidModelsCommand::class, | ||
AndroidVersionsCommand::class, | ||
AndroidOrientationsCommand::class, | ||
AndroidLocalesCommand::class, | ||
AndroidTestEnvironmentCommand::class | ||
], | ||
usageHelpAutoWidth = true | ||
) | ||
class AndroidCommand : PrintHelp |
2 changes: 1 addition & 1 deletion
2
...tlin/ftl/cli/firebase/test/CommandUtil.kt → ...entation/cli/firebase/test/CommandUtil.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ftl/cli/firebase/test/CommonRunCommand.kt → ...ion/cli/firebase/test/CommonRunCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../ftl/cli/firebase/test/IPBlocksCommand.kt → ...tion/cli/firebase/test/IPBlocksCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
test_runner/src/main/kotlin/ftl/presentation/cli/firebase/test/IosCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package ftl.presentation.cli.firebase.test | ||
|
||
import ftl.presentation.cli.firebase.test.ios.IosDoctorCommand | ||
import ftl.presentation.cli.firebase.test.ios.IosLocalesCommand | ||
import ftl.presentation.cli.firebase.test.ios.IosModelsCommand | ||
import ftl.presentation.cli.firebase.test.ios.IosOrientationsCommand | ||
import ftl.presentation.cli.firebase.test.ios.IosRunCommand | ||
import ftl.presentation.cli.firebase.test.ios.IosTestEnvironmentCommand | ||
import ftl.presentation.cli.firebase.test.ios.IosVersionsCommand | ||
import ftl.util.PrintHelp | ||
import picocli.CommandLine.Command | ||
|
||
@Command( | ||
name = "ios", | ||
synopsisHeading = "", | ||
subcommands = [ | ||
IosRunCommand::class, | ||
IosDoctorCommand::class, | ||
IosModelsCommand::class, | ||
IosVersionsCommand::class, | ||
IosLocalesCommand::class, | ||
IosTestEnvironmentCommand::class, | ||
IosOrientationsCommand::class | ||
], | ||
usageHelpAutoWidth = true | ||
) | ||
class IosCommand : PrintHelp |
6 changes: 3 additions & 3 deletions
6
...i/firebase/test/NetworkProfilesCommand.kt → ...i/firebase/test/NetworkProfilesCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../firebase/test/ProvidedSoftwareCommand.kt → .../firebase/test/ProvidedSoftwareCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...base/test/android/AndroidDoctorCommand.kt → ...base/test/android/AndroidDoctorCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ase/test/android/AndroidLocalesCommand.kt → ...ase/test/android/AndroidLocalesCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...base/test/android/AndroidModelsCommand.kt → ...base/test/android/AndroidModelsCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...est/android/AndroidOrientationsCommand.kt → ...est/android/AndroidOrientationsCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...irebase/test/android/AndroidRunCommand.kt → ...irebase/test/android/AndroidRunCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../android/AndroidTestEnvironmentCommand.kt → .../android/AndroidTestEnvironmentCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...se/test/android/AndroidVersionsCommand.kt → ...se/test/android/AndroidVersionsCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../locales/AndroidLocalesDescribeCommand.kt → .../locales/AndroidLocalesDescribeCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...roid/locales/AndroidLocalesListCommand.kt → ...roid/locales/AndroidLocalesListCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...oid/models/AndroidModelDescribeCommand.kt → ...oid/models/AndroidModelDescribeCommand.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.