►
From YouTube: Remote Development - Workspaces CLI Updates
Description
Added the ability to update workspaces from the glab CLI.
Added the support for --output=json/--watch flags for workspace list and view commands
A
Hi
everyone
today
I'll
be
reading
you
through
an
update
we've
introduced
as
a
part
of
the
remote
development
work.
We've
done
some
work
in
the
past
to
introduce
some
commands
in
the
CLI
to
be
able
to
manage
workspaces
and,
in
this
session,
I'll
be
taking
you
through
some
additional
enhancements
that
we've
introduced.
So
first,
let's
take
a
look
at
the
First
Command
that
we've
introduced,
which
is
the
update
command
so
at
present.
A
Now,
if
you
look
at
the
health
documents
under
the
workspace
command,
you
can
see
this
additional
update
command
now
being
available,
and
this
basically
allows
you
to
selectively
update
attributes
for
any
existing
workspace.
A
So
in
order
to
Showcase
how
this
works,
maybe
if
we
first
take
a
look
at
some
of
the
existing
workspaces
we
have
so,
let's
take
a
quick
look
at
what
we
have
under
this
particular
group
yeah.
So,
let's
say
I
wish
to
change
the
editor
of
workspace,
one
to
something
else,
maybe
vs
code.
All
I
need
to
do
now
is
just
remove
the
sub
update
sub
command.
Again,
we
need
the
group
The
workspace
ID,
which
in
this
case
let's
say
it
is
one
and
we
want
to
change
the
editor
to
vs
code.
A
I
can
just
type
that
and
yeah.
Now.
If
we
view
the
list
again,
we
will
see
that
the
workspace
has
been
updated
and
in
this
manner
you
can
use
the
update
command
to
pretty
much
change.
Quite
a
few
things,
you
can
take
a
look
at
the
update,
app
prompt
to
see
what
all
options
are
available
to
you,
so
yeah
yeah,
so
I
think
that
pretty
much
covers
the
new
update
command
that
we've
introduced.
A
A
You
can
spend
this
with
an
output
key
flag
and
then
set
the
value
to
Json,
and
it
will
now
give
you
a
Json
rendered
list
of
the
workspace
data.
This
is
also
there
for
the
view
command.
So
here
you
can
see,
for
example,.
A
A
A
The
watch
flag
essentially
allows
you
to
subscribe
to
any
updates
in
either
a
list
of
workspaces
or
any
specific
workspace.
So
in
order
to
see
how
this
works,
maybe
perhaps
we
can
take
a
look
at
the
list
of
workspaces
under
this
particular
group
and
in
another
window,
I
can
try
to
maybe
change
an
attribute
right.
A
We
are
here
watching
or
we
are
subscribing
to
the
changes
for
workspace
once
so
again.
We
can
just
make
a
change
and
change
the
type
of
ID
as
well
and
yeah.
As
you
can
see,
that's
reflected
here
now
so
yeah.
That
concludes
all
the
search
changes
we've
introduced
in
this
update.
Thank
you.
So
much
for
your
time.
Bye.