►
From YouTube: Remote Development - Workspaces CLI Support
Description
Added the ability to list, view, modify and create workspaces from the glab CLI.
The following commands have been added
glab workspace list --group=gitlab-org
glab workspace create --group=gitlab-org --agent=1 -f devfile.yaml --editor=ttyd
glab workspace view --group=gitlab-org 1
A
Hi
everyone
welcome
to
an
update
from
the
remote
development
work
stream.
So
today,
I
want
to
walk
you
through
a
feature
that
honor
and
I
have
been
working
on
related
to
adding
the
ability
to
interact
with
workspaces
using
the
CLI,
and
this
is
really
stemmed
from
the
from
customers
who
asked
us
to
be
able
to
automate
tasks
that
are
standard
with
workspaces,
so
the
ability
to
create
and
list
workspaces
and
things
like
that.
A
So
now,
what
we've
done
is
we've
added.
So
now
with
the
g-lab
CLI,
you
can
go
ahead
and
look
at
the
workspaces
option,
which
is
now
available.
So
I
can
also
say:
g-lab
workspace
help
and
that
will
show
me
the
operations
that
are
possible
with
workspaces
all
right,
so
I'm
going
to
go
ahead
and
list
or
send
my
workspaces
that
are
already
there
in
my
in
my
organization.
So
I
can
do
that
by
saying
g-lab
workspace
list
and
then
provide
the
group.
A
And,
as
you
can
see,
I
can
see
a
list
of
my
workspaces
in
various
statuses,
the
editor
being
used
and
the
URL.
If
any
I
can
also
go
ahead
and
create
a
workspace
from
the
CLI
I'm
just
going
to
go
to
the
command,
and
you
can
see
that
I'm
I'm
creating
a
workspace,
providing
it
an
editor,
the
agent
which
specifies
the
kubernetes
cluster,
where
this
can
be
provisioned
and,
of
course,
the
dev
file.
It
specifies
the
shape
of
my
cluster
and
this
is
essentially
locally
reading.
A
A
Excuse
me,
so
you
can
just
run
the
view
command
and
specify
the
workspace
ID
just
to
see
details
about
that
workspace,
so
I'm
going
to
provide
the
workspace
ID,
which
is
17,
and
you
can
see
now
it's
in
a
starting
State.
Now,
if
I
were
to
go
to
UI
and
and
see
that
you
see
that
it's
in
the
starting
State
here
as
well,
so
going
back
I'm
just
going
to
wait
for
it
to
become
running.
A
And
now
the
workspace
is
running
so
now
it's
running
State.
We
can
actually
visit
the
workspace,
so
I
can
go
to
the
URL
and,
as
you
see,
if
I
go
to
the
URL,
you
can
see
I
have
access
to
running
the
escort
instance.
A
So
that's
that's
it
for
the
core
aspect
of
the
demo
I
just
to
add
here,
we've
added
the
ability
now
from
the
CLI
from
the
CLI
to
be
able
to
request
for
a
graphql
client.
So
now
you
have
access
to
a
strongly
typed
graphql
client
as
a
part
of
this
Mr
as
well,
that
you
can
use
to
call
the
graphql
apis
that
we
offer,
and
then
that
gives
you
the
ability
to
write
strongly.
Typed
graphql
queries
like
this
query
here,
which
queries
on
group
and
fetches
workspaces.
A
Also,
you
can
do
mutations
so
making
changes
using
a
mutation.
Query
like
this.
That's
it
for
today.
Thank
you.