Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): parse subcommand #724

Merged
merged 13 commits into from
Jan 9, 2023
Merged

feat(cli): parse subcommand #724

merged 13 commits into from
Jan 9, 2023

Conversation

matzuk
Copy link
Collaborator

@matzuk matzuk commented Dec 16, 2022

No description provided.

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Merging #724 (2d9d65b) into develop (903aae1) will increase coverage by 0.29%.
The diff coverage is 83.33%.

@@              Coverage Diff              @@
##             develop     #724      +/-   ##
=============================================
+ Coverage      61.75%   62.05%   +0.29%     
- Complexity       720      724       +4     
=============================================
  Files            177      181       +4     
  Lines           3655     3697      +42     
  Branches         594      596       +2     
=============================================
+ Hits            2257     2294      +37     
- Misses          1100     1104       +4     
- Partials         298      299       +1     
Impacted Files Coverage Δ
...otlin/com/malinskiy/marathon/config/ExecuteMode.kt 0.00% <0.00%> (ø)
...c/main/kotlin/com/malinskiy/marathon/di/Modules.kt 46.15% <50.00%> (-1.68%) ⬇️
...src/main/kotlin/com/malinskiy/marathon/Marathon.kt 82.47% <77.77%> (+1.36%) ⬆️
...xecution/command/parse/MarathonTestParseCommand.kt 95.83% <95.83%> (ø)
...com/malinskiy/marathon/config/ExecutionCommands.kt 100.00% <100.00%> (ø)
...thon/execution/command/parse/ParseCommandResult.kt 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@matzuk matzuk changed the title Parse command [Draft] Parse command + clikt support Dec 19, 2022
private val marathonfile by option("--marathonfile", "-m", help="Marathonfile file path")
.file()
.default(File("Marathonfile"))
private val parseOutputFile by option("--output", "-o", help="Output for the result of Parse command execution")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add an option for format with only yaml for now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Malinskiy I've added few words that the output format is yaml. Do we need to support other formats?

@matzuk matzuk changed the title [Draft] Parse command + clikt support Parse command + clikt support Dec 20, 2022
@Malinskiy Malinskiy changed the title Parse command + clikt support feat(cli): parse command Jan 9, 2023
@Malinskiy Malinskiy changed the title feat(cli): parse command feat(cli): parse subcommand Jan 9, 2023
@Malinskiy Malinskiy merged commit ca41c44 into develop Jan 9, 2023
@Malinskiy Malinskiy deleted the parse_command branch January 9, 2023 11:48
Malinskiy added a commit that referenced this pull request Jan 22, 2023
YAML output format of the PARSE command

Co-authored-by: Anton Malinskiy <anton@malinskiy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants