Add example data
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c67bd450c7
commit
ffec4c19ca
|
@ -11,10 +11,8 @@ public record LinkDto(Username creator, LinkUrl url, Set<Category> categories, S
|
|||
@Override
|
||||
public String toString() {
|
||||
return
|
||||
url ./link-ditch catgegory get
|
||||
./link-ditch catgegory get
|
||||
|
||||
" by " + creator +
|
||||
url +
|
||||
" by " + creator +
|
||||
" categories: " + categories +
|
||||
" tags:" + tags;
|
||||
}
|
||||
|
|
|
@ -69,6 +69,39 @@ category get
|
|||
|
||||
Die Speicherung der Daten erfolgt in CSV-Dateien, die im Workingdirectory abgelegt werden.
|
||||
|
||||
|
||||
Eine beispielhafte Interaktion ist hier gegeben. Die Daten sollten auch im Repo vorhanden sein:
|
||||
|
||||
#+begin_src shell
|
||||
./link-ditch category add browser
|
||||
./link-ditch category add privacy
|
||||
./link-ditch link add https://github.com/libredirect/libredirect valentin privacy browser
|
||||
./link-ditch link add https://github.com/nickspaargaren/no-google valentin android privacy browser
|
||||
./link-ditch tag add emacswiki emacswiki.org
|
||||
./link-ditch category add texteditor
|
||||
./link-ditch link add https://www.emacswiki.org/emacs/WriteOrDieMode valentin texteditor
|
||||
./link-ditch link add http://www.vimgolf.com/ valentin texteditor
|
||||
./link-ditch category add latex
|
||||
./link-ditch link add https://github.com/JabRef/jabref valentin latex
|
||||
./link-ditch link add https://geschicktgendern.de/ valentin latex
|
||||
./link-ditch link add https://latexeditor.lagrida.com/ valentin latex
|
||||
|
||||
./link-ditch link get
|
||||
./link-ditch link hosts # gruppiert nach gleichen Hosts
|
||||
./link-ditch link user valentin
|
||||
./link-ditch link category privacy
|
||||
./link-ditch link tag github
|
||||
|
||||
|
||||
./link-ditch tag get
|
||||
./link-ditch catgegory get
|
||||
|
||||
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
*** Wie testet man die Applikation?
|
||||
|
||||
#+begin_src
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,5 @@
|
|||
browser,2652
|
||||
privacy,383
|
||||
android,2521
|
||||
texteditor,5246
|
||||
latex,6995
|
|
|
@ -0,0 +1,2 @@
|
|||
gitea,tea.filefighter.de
|
||||
emacswiki,emacswiki.org
|
|
|
@ -0,0 +1,7 @@
|
|||
1159,valentin,https://github.com/libredirect/libredirect,2652-383,github#A web extension that redirects popular sites to alternative frontends and backends
|
||||
1908,valentin,https://github.com/nickspaargaren/no-google,2521-2652-383,github#Completely block Google and its services
|
||||
5618,valentin,https://www.emacswiki.org/emacs/WriteOrDieMode,5246,emacswiki#
|
||||
8978,valentin,http://www.vimgolf.com/,5246,
|
||||
9624,valentin,https://github.com/JabRef/jabref,6995,github#Graphical Java application for managing BibTeX and biblatex (.bib) databases
|
||||
7091,valentin,https://geschicktgendern.de/,6995,
|
||||
5232,valentin,https://latexeditor.lagrida.com/,6995,
|
|
Reference in New Issue