Commit Graph

39 Commits

Author SHA1 Message Date
Andreas Zweili
5f0de1e8e2 add a test file 2020-10-13 22:46:33 +02:00
Andreas Zweili
68782d1d22 put the URL and file command in a mutual exclusive group 2020-10-13 22:15:49 +02:00
Andreas Zweili
f2a13861f8 extend the helptext for topics 2020-10-13 22:15:35 +02:00
Andreas Zweili
68389492cd extend the README 2020-10-13 22:15:06 +02:00
Andreas Zweili
251cab1ebb update the readme 2020-10-13 21:30:46 +02:00
Andreas Zweili
9f69b4d2dc split the requirements into multiple files 2020-10-13 21:28:08 +02:00
Andreas Zweili
de3c6eb44f append the article content after the header 2020-10-13 21:18:22 +02:00
Andreas Zweili
ceb449e477 add a line between the header and the content 2020-10-13 21:18:04 +02:00
Andreas Zweili
5a6d0cefac overwrite the file if it already exists 2020-10-13 21:17:31 +02:00
Andreas Zweili
9b9aff2769 use ATX style headers in markdown 2020-10-13 21:17:05 +02:00
Andreas Zweili
1bb504d5b6 move the markdown.py file to __main__.py 2020-10-13 21:13:49 +02:00
Andreas Zweili
ac1d5f8a2b update the test command 2020-10-13 21:13:37 +02:00
Andreas Zweili
20f2802ce9 add pytest-cov 2020-10-13 21:13:25 +02:00
Andreas Zweili
e21470a669 update the build command 2020-10-13 21:13:01 +02:00
Andreas Zweili
863cabef14 ignore all markdown files 2020-10-13 20:51:32 +02:00
Andreas Zweili
62a500e4e2 start to complete the main function 2020-10-12 22:26:21 +02:00
Andreas Zweili
be2cc4fbc6 add a function to create a file 2020-10-12 22:25:47 +02:00
Andreas Zweili
e562dc61d0 add the cli functionality 2020-10-12 22:25:36 +02:00
Andreas Zweili
ce90dce9b6 split the input topics into a list 2020-10-12 22:25:13 +02:00
Andreas Zweili
aef724aa43 rewrite the header functions into a class 2020-10-12 22:09:47 +02:00
Andreas Zweili
e088d91fda extend the header 2020-10-12 21:49:18 +02:00
Andreas Zweili
ccda71858e add function to create the header 2020-10-12 16:04:22 +02:00
Andreas Zweili
1b1cc27c27 finish test for undefined header topics 2020-10-12 15:19:57 +02:00
Andreas Zweili
b1450ed2b7 begin the headers functions 2020-10-12 15:17:54 +02:00
Andreas Zweili
1a2b036fa5 add tests for the headers functions 2020-10-12 15:17:43 +02:00
Andreas Zweili
18f9a8b0af use a newsarticle for tests 2020-10-12 15:17:21 +02:00
Andreas Zweili
506297be6b remove some tests 2020-10-12 15:17:05 +02:00
Andreas Zweili
59ede0eccb parse the article before returning 2020-10-12 15:16:44 +02:00
Andreas Zweili
e214d7ece5 add fixture for an article 2020-10-12 15:16:18 +02:00
Andreas Zweili
49d0407397 add a method to download an article 2020-10-12 14:49:46 +02:00
Andreas Zweili
529c9a6fba update the Makefile 2020-10-12 14:48:08 +02:00
Andreas Zweili
f61f1e080c add a README 2020-10-12 14:23:23 +02:00
Andreas Zweili
5937b44f73 add the initial files for url2markdown 2020-10-12 14:11:55 +02:00
Andreas Zweili
2a7337b448 add initial tests 2020-10-12 14:11:33 +02:00
Andreas Zweili
53f4fec2a1 add setup.py 2020-10-12 14:10:49 +02:00
Andreas Zweili
df30b17985 add the license 2020-10-12 14:05:20 +02:00
Andreas Zweili
e78ec935b5 add dependencies 2020-10-12 13:19:08 +02:00
Andreas Zweili
a1093c32a7 add a Makefile 2020-10-11 14:01:39 +02:00
Andreas Zweili
cbf18ea608 add a gitignore file 2020-10-11 14:01:24 +02:00