full initial implementation
This commit is contained in:
1 parent
65fc75e509
commit
d9d9b7f463
15 files changed
+799
-4
No files matched your search
@@ -0,0 +1,15 @@
|
||||
export const spec = {
|
||||
name: 'create_space',
|
||||
description: 'Create a new space: a named sub-remote with its own working directory.',
|
||||
parameters: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
name: { type: 'string', description: 'Name of the new space.' },
|
||||
},
|
||||
required: ['name'],
|
||||
},
|
||||
};
|
||||
|
||||
export default async function (args, ctx) {
|
||||
return await ctx.api.createSpace(args.name);
|
||||
}
|
||||
Reference in new issue
Block a user