mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 10:18:08 +02:00
update api ref for new mdxify version
This commit is contained in:
parent
3543c13ca9
commit
c289f17217
62 changed files with 3407 additions and 376 deletions
31
docs/python-sdk/fastmcp-cli-install-shared.mdx
Normal file
31
docs/python-sdk/fastmcp-cli-install-shared.mdx
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: shared
|
||||
sidebarTitle: shared
|
||||
---
|
||||
|
||||
# `fastmcp.cli.install.shared`
|
||||
|
||||
|
||||
Shared utilities for install commands.
|
||||
|
||||
## Functions
|
||||
|
||||
### `parse_env_var` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/install/shared.py#L15" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
|
||||
|
||||
```python
|
||||
parse_env_var(env_var: str) -> tuple[str, str]
|
||||
```
|
||||
|
||||
|
||||
Parse environment variable string in format KEY=VALUE.
|
||||
|
||||
|
||||
### `process_common_args` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/cli/install/shared.py#L26" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
|
||||
|
||||
```python
|
||||
process_common_args(server_spec: str, server_name: str | None, with_packages: list[str], env_vars: list[str], env_file: Path | None) -> tuple[Path, str | None, str, list[str], dict[str, str] | None]
|
||||
```
|
||||
|
||||
|
||||
Process common arguments shared by all install commands.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue