summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-10-04 16:21:53 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-10-04 16:21:53 +0200
commitf1485bf9b53b30f609bf83b2fbd7bb577c204e59 (patch)
treece38892908d82bf3c0bdff96e0121f6d4773b30a /src
parent4c37bf195c00fe0c9f771aa7eadc0b04767f0426 (diff)
media-uploader: add skeleton
Diffstat (limited to 'src')
-rw-r--r--src/as/media-uploader.scm11
-rw-r--r--src/media-uploader.scm9
2 files changed, 20 insertions, 0 deletions
diff --git a/src/as/media-uploader.scm b/src/as/media-uploader.scm
new file mode 100644
index 0000000..2991b52
--- /dev/null
+++ b/src/as/media-uploader.scm
@@ -0,0 +1,11 @@
+(define-module (src as media-uploader)
+ #:use-module (src media-uploader)
+ #:export (main
+ post
+ person
+ media))
+(define main __ignore)
+(define post __ignore)
+(define person __ignore)
+(define media upload)
+
diff --git a/src/media-uploader.scm b/src/media-uploader.scm
new file mode 100644
index 0000000..50b74c1
--- /dev/null
+++ b/src/media-uploader.scm
@@ -0,0 +1,9 @@
+(define-module (src media-uploader)
+ #:use-module (ice-9 format)
+ #:export (__ignore
+ upload))
+
+(define (__ignore . rest) #f)
+(define* (upload path #:key (uri "")
+ #:allow-other-keys)
+ (format #t "URI: ~a Path ~a~&" uri path))