11 lines
425 B
Bash
11 lines
425 B
Bash
#!/bin/sh
|
|
|
|
# TODO:
|
|
# - Fn that creates a gitea repo
|
|
# - Accept a name
|
|
# - On success display the remote ssh url + commands to add it to an existing repo
|
|
# curl "http://git.pratik.live/api/v1/activitypub/user-id/pratik" \
|
|
# -H "accept: application/json" \
|
|
# -H "Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
|
|
# -H "Content-Type: application/json" -d "{ \"body\": \"testing\", \"title\": \"test 20\"}" -i
|