Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F49506877
arc-create-ops-task
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
352 B
Referenced Files
None
Subscribers
None
arc-create-ops-task
View Options
#!/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
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Sep 14, 16:05 (4 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4085524
Default Alt Text
arc-create-ops-task (352 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment