Skip to content

Comments

[structure] added lib, implemented separation between cmd and cli#132

Merged
timonburkard merged 27 commits intomainfrom
feature/lib
Jan 27, 2026
Merged

[structure] added lib, implemented separation between cmd and cli#132
timonburkard merged 27 commits intomainfrom
feature/lib

Conversation

@timonburkard
Copy link
Owner

No description provided.

@timonburkard timonburkard force-pushed the feature/lib branch 4 times, most recently from 63e15a6 to 3caf8ae Compare January 24, 2026 13:08
@maebli
Copy link

maebli commented Jan 26, 2026

Possible additional tools (maybe others) for github actions

  • cargo audit or cargo deny
  • cargo machete (unused dependencies)

Copy link

@maebli maebli left a comment

Choose a reason for hiding this comment

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

Looks nice! 👍 For the web view maybe its worth looking at serverless solution also? I would maybe consider egui (https://www.egui.rs/#demo) running in wasm. I recently saw a cool demo of this.

Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
We want to separate the logic from the cli.

Therefore, `git_commit()` resp. `run_git()` should not contain
print statements but instead return an optional info string.

Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
We want to separate the logic from the cli.

Therefore, the wildcard handling, which contains user confirmation,
has been moved to `cli`.

Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
We want to separate the logic from the cli.

Therefore, `load_settings()` resp. `create_settings_if_missing()`
should not contain print statements but instead return an optional
info string.

Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
This is better for readability compared to tuples. Also, it is more
future prove, as new fields can be added easily.

Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
This is a local user-specific setting. Should not be part of the
version-controlled project configuration.

Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
`model` now only contains shared things from cmd and cli. Thus,
it should not be nested under cmd/

Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
Signed-off-by: Timon Burkard <burkard.timon@gmail.com>
@timonburkard timonburkard merged commit 552ef4b into main Jan 27, 2026
4 checks passed
@timonburkard timonburkard deleted the feature/lib branch January 27, 2026 20:56
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.

2 participants