mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 20:01:32 +03:00
better gcp commands
This commit is contained in:
parent
9c30b51395
commit
23fbe88af9
@ -260,6 +260,13 @@ $% [%diff %json json]
|
|||||||
$= action $?
|
$= action $?
|
||||||
%start %stop %reboot %delete
|
%start %stop %reboot %delete
|
||||||
== ==
|
== ==
|
||||||
|
=+ d=(~(got by insts.vat) id)
|
||||||
|
~| 'can\'t find id'
|
||||||
|
=+ typ=?~(d !! -.d)
|
||||||
|
~& typ
|
||||||
|
~! typ
|
||||||
|
?- typ
|
||||||
|
%do
|
||||||
=+ meth=?:(?=(%delete action) %delt [%post (jobe type/s/(convert-do action) ~)])
|
=+ meth=?:(?=(%delete action) %delt [%post (jobe type/s/(convert-do action) ~)])
|
||||||
^- move
|
^- move
|
||||||
~& 'do i get here?'
|
~& 'do i get here?'
|
||||||
@ -274,6 +281,9 @@ $% [%diff %json json]
|
|||||||
*quay
|
*quay
|
||||||
==
|
==
|
||||||
req
|
req
|
||||||
|
%gce
|
||||||
|
!!
|
||||||
|
==
|
||||||
::
|
::
|
||||||
++ create-do
|
++ create-do
|
||||||
|= [os=bone act=json]
|
|= [os=bone act=json]
|
||||||
@ -408,7 +418,6 @@ $% [%diff %json json]
|
|||||||
~| 'bad-json'^items
|
~| 'bad-json'^items
|
||||||
%+ turn items
|
%+ turn items
|
||||||
|= in=json
|
|= in=json
|
||||||
=- ~! want=*[@t instance] ~! have=- -
|
|
||||||
=< [id .]
|
=< [id .]
|
||||||
^- instance
|
^- instance
|
||||||
:- %gce
|
:- %gce
|
||||||
|
Loading…
Reference in New Issue
Block a user