Skip to content

Implement init-command similar to mycli. #1504

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

Merged
merged 7 commits into from
Apr 22, 2025
Merged

Implement init-command similar to mycli. #1504

merged 7 commits into from
Apr 22, 2025

Conversation

amjith
Copy link
Member

@amjith amjith commented Apr 19, 2025

Description

Implement the init-command feature that is available in mycli.

Checklist

  • I've added this contribution to the changelog.rst.

@amjith amjith requested a review from j-bennet April 19, 2025 05:37
@amjith amjith force-pushed the amjith/init-command branch from 4751f47 to c97298c Compare April 19, 2025 05:39
amjith added 3 commits April 20, 2025 09:14
The newest click 8.1.8 is breaking the behave tests.
Click 8.1.8 was breaking them.
Copy link
Contributor

@j-bennet j-bennet left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks!

@@ -232,12 +232,21 @@ output.null = "#808080"

# Named queries are queries you can execute by name.
[named queries]
# ver = "SELECT version()"
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for providing the examples. 👍

"click >= 4.1",
"Pygments>=2.0", # Pygments has to be Capitalcased. WTF?
"click >= 4.1,<8.1.8",
"Pygments>=2.0", # Pygments has to be Capitalcased. WTF?
Copy link
Contributor

Choose a reason for hiding this comment

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

I... would not leave a wtf in there. 😂

Copy link
Member Author

Choose a reason for hiding this comment

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

That is from a long time ago. When I was young and stupid.

@amjith amjith merged commit 9d9a912 into main Apr 22, 2025
7 checks passed
@amjith amjith deleted the amjith/init-command branch April 22, 2025 18:43
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