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

Migrate to Cobra #37

Merged
merged 25 commits into from
Jun 19, 2024
Merged

Migrate to Cobra #37

merged 25 commits into from
Jun 19, 2024

Conversation

slashtechno
Copy link
Owner

Migrate to Cobra

Also have a proper OAuth flow with a web server for handling callbacks.

Doesn't do anything yet
Might just be better to use a file via viper
Currently it seems it isn't asserting the error correctly
Just pulls the title and content for now. The content is also converted into markdown for later use
Frontmatter seems to not be written correctly, as can be seen by `cobra/output_markdown/hello-world.md`
I forgot to marshal the YAML before writing it
Also exists for Blogger but pushing isn't implemented yet
fix: prevent panic when a config key is not set
refactor: rename `PlatformOptions` to `PushPullOptions`
docs: update README for use with Cobra
@slashtechno slashtechno merged commit dba4608 into main Jun 19, 2024
6 checks passed
@slashtechno slashtechno deleted the cobra branch June 19, 2024 22:14
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.

1 participant