Always require a directory
This commit is contained in:
parent
3805ee9d72
commit
b9fd2fb444
1 changed files with 3 additions and 6 deletions
|
|
@ -181,7 +181,7 @@ async function createServer(directory: string, options: any = {}) {
|
|||
const program = new Command()
|
||||
.name("create-mcp-server")
|
||||
.description("Create a new MCP server")
|
||||
.argument("[directory]", "Directory to create the server in", process.cwd())
|
||||
.argument("<directory>", "Directory to create the server in")
|
||||
.option("-n, --name <name>", "Name of the server")
|
||||
.option("-d, --description <description>", "Description of the server")
|
||||
.action(createServer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue