Skip to content

Conversation

Songmu
Copy link
Collaborator

@Songmu Songmu commented Aug 16, 2025

Allow setting a default base presentation ID in the config file to reuse themes when creating new presentations automatically. The --from flag still takes precedence when both are present.

Also includes documentation updates and reorganization of the setup sections for better clarity.

Note: While there's some inconsistency between the configuration name basePresentationID and the --from flag, I chose basePresentationID because fromPresentationID sounds unnatural in English. We might consider adding the --base flag and deprecating the --from in the future for better consistency.

Allow setting a default base presentation ID in config file to automatically
reuse themes when creating new presentations. The --from flag still takes
precedence when both are present.

Also includes documentation updates and reorganization of the setup sections
for better clarity.
Copy link
Contributor

Code Metrics Report

main (11450fd) #367 (89ebf8d) +/-
Coverage 31.7% 31.7% -0.1%
Code to Test Ratio 1:0.8 1:0.8 -0.1
Test Execution Time 10s 10s 0s
Details
  |                     | main (11450fd) | #367 (89ebf8d) |  +/-  |
  |---------------------|----------------|----------------|-------|
- | Coverage            |          31.7% |          31.7% | -0.1% |
  |   Files             |             26 |             26 |     0 |
  |   Lines             |           3065 |           3066 |    +1 |
  |   Covered           |            972 |            972 |     0 |
- | Code to Test Ratio  |          1:0.8 |          1:0.8 |  -0.1 |
  |   Code              |           6298 |           6299 |    +1 |
  |   Test              |           5481 |           5481 |     0 |
  | Test Execution Time |            10s |            10s |    0s |

Code coverage of files in pull request scope (6.5% → 6.4%)

Files Coverage +/- Status
cmd/new.go 11.7% -0.4% modified
config/config.go 0.0% 0.0% modified

Reported by octocov

@Songmu Songmu merged commit 6fa4c92 into main Aug 16, 2025
1 check passed
@Songmu Songmu deleted the base-presentation branch August 16, 2025 15:28
@github-actions github-actions bot mentioned this pull request Aug 15, 2025
@Songmu Songmu added minor enhancement New feature or request labels Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant