Skip to content

Conversation

@paduszyk
Copy link
Owner

@paduszyk paduszyk commented Nov 2, 2023

Description

This configures the package's command-line interface using click.

In particular, the CLI is set up for adding commands. They can be defined in the gitmojis.cli.commands module to be then automatically registered in the main CLI hook.

Finally, the CLI is added to the package's entry points/scripts.

@paduszyk paduszyk added feature New feature or request chores Configuration, CI, code maintenance labels Nov 2, 2023
@paduszyk paduszyk self-assigned this Nov 2, 2023
@codecov
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #11 (125e083) into main (fb9155a) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 125e083 differs from pull request most recent head 853446a. Consider uploading reports for the commit 853446a to get more accurate results

@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         7    +2     
  Lines           49        61   +12     
  Branches         4         8    +4     
=========================================
+ Hits            49        61   +12     
Files Coverage Δ
src/gitmojis/__main__.py 100.00% <100.00%> (ø)
src/gitmojis/cli/__init__.py 100.00% <100.00%> (ø)

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

@paduszyk paduszyk force-pushed the chore/no-ref/set-up-cli-for-adding-commands branch from 2b37b86 to 853446a Compare November 2, 2023 20:24
@paduszyk paduszyk merged commit dba9ad9 into main Nov 2, 2023
@paduszyk paduszyk deleted the chore/no-ref/set-up-cli-for-adding-commands branch November 2, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Configuration, CI, code maintenance feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants