Config
Stoobly Config CLI - Questions & Answers
Understanding Configuration
Q: What is Stoobly configuration?
# View current configuration
stoobly-agent config dump
# View configuration directory
stoobly-agent config dump --dirQ: Where is configuration stored?
# View config directory location
stoobly-agent config dump --dir
# Output: /home/user/.stoobly
# View full configuration
stoobly-agent config dumpViewing and Managing Configuration
Q: How do I view the current configuration?
Q: How do I save configuration to a file?
Q: How do I reset configuration to defaults?
Q: How do I validate my configuration?
Managing Active Scenario
Q: How do I set the active scenario?
Q: How do I view the currently active scenario?
Q: How do I clear the active scenario?
Q: Why would I set an active scenario?
Rewrite Rules
Q: What are rewrite rules?
Q: How do I create a rewrite rule to change the hostname?
Q: How do I create a rewrite rule to change the URL path?
Q: How do I create a rewrite rule to change the scheme?
Q: How do I create a rewrite rule to change the port?
Q: How do I rewrite request headers?
Q: How do I rewrite query parameters?
Q: How do I rewrite body parameters?
Q: How do I rewrite response headers?
Q: How do I rewrite response parameters?
Q: How do I apply rewrite rules to specific modes?
Q: How do I create rewrite rules for specific HTTP methods?
Match Rules
Q: What are match rules?
Q: How do I create a match rule to ignore certain components?
Q: How do I match by query parameters?
Q: How do I match by headers?
Q: How do I match by body parameters?
Q: How do I match by multiple components?
Firewall Rules
Q: What are firewall rules?
Q: How do I exclude requests from interception?
Q: How do I include only specific requests?
Q: How do I filter by HTTP method?
Q: How do I apply firewall rules to specific modes?
Project Management (Remote Features)
Q: How do I set the active project?
Q: How do I view the current project?
Q: How do I switch to local project mode?
Q: How do I set my API key for remote features?
Configuration Workflows
Q: How do I set up environment-specific rewrite rules?
Q: How do I configure request filtering for testing?
Q: How do I mock with modified authentication?
Advanced Configuration
Q: How do I create rules for specific projects?
Q: How do I configure rules for microservices?
Troubleshooting
Q: How do I debug configuration issues?
Q: How do I reset a specific configuration section?
Q: How do I check if my rewrite rules are working?
Quick Reference
Q: What are the most common config commands?
Best Practices
Q: How should I organize my configuration?
Q: When should I use firewall rules vs match rules?
Last updated