Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F24929319
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/nasqueron-operations/Makefile b/nasqueron-operations/Makefile
new file mode 100644
index 0000000..88ef698
--- /dev/null
+++ b/nasqueron-operations/Makefile
@@ -0,0 +1,16 @@
+# ___ ___ __ __ __ __
+# | Y .--.--.-----| |_.-----.----. | |--|__| |_.----.-----.
+# |. | | | | | _| -__| _| | <| | _| _| _ |
+# |. / \ |___ |__|__|____|_____|__| |__|__|__|____|__| |_____|
+# |: |_____|
+# |::.|:. | Dereckson's $HOME/bin personal collection
+# `--- ---' Wynter-kitro edition
+
+INSTALL=/usr/bin/install
+PREFIX?=${HOME}
+
+make:
+
+make install:
+ ${INSTALL} ops-newuser.sh ${PREFIX}/bin/ops-newuser
+ ${INSTALL} arc-create-ops-task.sh ${PREFIX}/bin/arc-create-ops-task
diff --git a/nasqueron-operations/arc-create-ops-task.sh b/nasqueron-operations/arc-create-ops-task.sh
new file mode 100755
index 0000000..a3b2bc5
--- /dev/null
+++ b/nasqueron-operations/arc-create-ops-task.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+ARC=arc
+AWK=gawk
+URL="https://devcentral.nasqueron.org"
+
+if [ $# -eq 0 ]; then
+ echo "Usage: $0 <title of the task to create>"
+ exit 64
+fi
+TEXT=$1
+
+arcTaskCreatedId=$($ARC todo "$TEXT" --project servers --no-ansi --conduit-uri "$URL"/api | $AWK '{match($3,"T[0-9]+",a)}END{print a[0]}' | cut -d'T' -f 2)
+echo $URL/T"$arcTaskCreatedId"
diff --git a/nasqueron-operations/newuser b/nasqueron-operations/ops-newuser.sh
similarity index 100%
rename from nasqueron-operations/newuser
rename to nasqueron-operations/ops-newuser.sh
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Mar 21, 07:49 (12 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3546665
Default Alt Text
(1 KB)
Attached To
Mode
rWK Wynter Kitro utilities
Attached
Detach File
Event Timeline
Log In to Comment