Page MenuHomeDevCentral

arc-create-ops-task
No OneTemporary

arc-create-ops-task

#!/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"

File Metadata

Mime Type
text/x-shellscript
Expires
Mon, Sep 14, 16:05 (2 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4085524
Default Alt Text
arc-create-ops-task (352 B)

Event Timeline