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

Favour to ask: Commandline wrapper #3

Closed
Bystroushaak opened this issue Dec 2, 2018 · 2 comments
Closed

Favour to ask: Commandline wrapper #3

Bystroushaak opened this issue Dec 2, 2018 · 2 comments

Comments

@Bystroushaak
Copy link

Hello, let me say thank you for your work.

Sadly, I am a python programmer too busy to learn go just because I want to use this module. Could you please provide simple commandline wrapper? It would allow to other non-go programmers use this project.

You mentioned notion_import.go and notion_to_html.go, but I was unable to put it all together. I think just simple commandline wrapper over these two would do.

@kjk
Copy link
Owner

kjk commented Dec 3, 2018

Sorry, no plans for command-line wrapper beyond what's already there.

If you have go installed, you can already do go run cmd/tohtml/main.go https://www.notion.so/kjkpublic/Test-page-text-4c6a54c68b3e4ea2af9cfaabcc88d58d which will generate html in www directory with index.html corresponding to https://www.notion.so/kjkpublic/Test-page-text-4c6a54c68b3e4ea2af9cfaabcc88d58d page.

If you do go build ./cmd/tohtml/, you'll get tohtml executable corresponding to cmd/tohtml sample.

That being said, cmd/tohtml is just to show usage of the API, it's far from being complete, robust or production ready.

@kjk kjk closed this as completed Dec 3, 2018
@Bystroushaak
Copy link
Author

Didn't noticed that, thanks.

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

No branches or pull requests

2 participants