mcp-cli-skill 0.4.5__tar.gz → 0.4.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-cli-skill
3
- Version: 0.4.5
3
+ Version: 0.4.7
4
4
  Summary: Call any MCP server tool from the command line with shell composition support
5
5
  Project-URL: Homepage, https://github.com/wise-toddler/mcp-cli-skill
6
6
  Project-URL: Repository, https://github.com/wise-toddler/mcp-cli-skill
@@ -26,6 +26,7 @@ Repository = "https://github.com/wise-toddler/mcp-cli-skill"
26
26
 
27
27
  [project.scripts]
28
28
  mcp-call = "mcp_cli_skill.cli:main"
29
+ mcp-cli-skill = "mcp_cli_skill.cli:main"
29
30
 
30
31
  [tool.hatch.version]
31
32
  path = "src/mcp_cli_skill/__init__.py"
@@ -161,6 +161,11 @@ def parse_args():
161
161
  key, val = arg[2:].split("=", 1)
162
162
  tool_args[key] = parse_value(val)
163
163
  elif arg.startswith("--"):
164
+ # --flag value (space-separated) or --flag (boolean)
165
+ if i + 1 < len(args) and not args[i + 1].startswith("--"):
166
+ tool_args[arg[2:]] = parse_value(args[i + 1])
167
+ i += 2
168
+ continue
164
169
  tool_args[arg[2:]] = True
165
170
  i += 1
166
171
  # read JSON from stdin if no args provided and stdin is piped
@@ -1,2 +1,2 @@
1
1
  """MCP CLI - Call any MCP server tool from the command line."""
2
- __version__ = "0.4.5"
2
+ __version__ = "0.4.7"
@@ -161,6 +161,11 @@ def parse_args():
161
161
  key, val = arg[2:].split("=", 1)
162
162
  tool_args[key] = parse_value(val)
163
163
  elif arg.startswith("--"):
164
+ # --flag value (space-separated) or --flag (boolean)
165
+ if i + 1 < len(args) and not args[i + 1].startswith("--"):
166
+ tool_args[arg[2:]] = parse_value(args[i + 1])
167
+ i += 2
168
+ continue
164
169
  tool_args[arg[2:]] = True
165
170
  i += 1
166
171
  # read JSON from stdin if no args provided and stdin is piped
File without changes
File without changes