Hoverfly Cloud
Visit Our Main SitePricingTry Hoverfly Cloud
  • Introduction
  • Use cases for API Simulation
  • Key concepts
  • What's New
  • Dashboard
  • Simulation
    • Create simulations
    • Configuring Request Matchers
      • JSON Request Matchers on the Body
        • EXACT Matcher
        • JSON Matcher
        • JSON Partial Matcher
        • JSONPath Matcher
        • Regular Expression Matcher
      • Handling the response when Hoverfly cannot match
    • Building a JSON Response
      • Using a JSON object from the Request
      • Looping over a JSON array from the Request
    • Simulating Webhooks and Callbacks
    • Using templating in simulations
      • Render back any part of the Request
      • Render synthetic data
      • Faker functions
      • Render dates and times with offsets
      • Conditional logic
      • Looping over arrays
      • Variables and Arrays
      • Arithmetic operations
      • String operations
      • Validation operations
      • Simulating a persistent backend
      • Transitioning state between requests
      • Combining and nesting templating functions
      • Useful helper functions
      • Avoiding HTML encoding in function return values
    • Using data sources in simulations
      • Querying data sources
      • Updating data in data sources
      • Deleting data from data sources
      • Inserting data into a data source
      • Guidance on using the SQL like syntax
    • Working with Simulation Files
  • Service
    • Start a new service
    • Use a service
    • Update a service
    • Configuring Journal Indexing
  • Command line interface
    • Hoverfly Cloud CLI commands
  • Tutorials
    • Quickstart
    • Creating simulations and services
      • Tutorial 1: Create a service and simulation manually
      • Tutorial 2: Create a service and simulation by importing from a Swagger specification
      • Tutorial 3: Create a service and simulation by capturing real API traffic
    • Response Templating
      • Tutorial 4: Response Templating
    • Hoverfly service modes
      • Tutorial 5: Simulate, Capture, Spy and Passthrough modes
    • Automating with the CLI and API
      • Tutorial 6: Using the CLI and the Hoverfly Cloud API
Powered by GitBook
On this page
  1. Command line interface

Hoverfly Cloud CLI commands

Explore the Hoverfly Cloud CLI commands to manage your API simulations and virtual services directly from your command line.

This page contains the output of

hcc --help
Command line interface for Hoverfly Cloud

Usage:
  hcc [command]

Available Commands:
  capture            Commands for interacting with local capture proxy
  config             Get/set CLI config properties
  help               Help about any command
  reverse-proxy      Commands for interacting with local reverse proxy proxying to Hoverfly Cloud
  scenario           Commands for interacting with Hoverfly Cloud Scenarios
  service            Commands for interacting with Hoverfly Cloud Services
  simulation         Commands for interacting with Hoverfly Cloud Simulations
  version            Get the version of Hoverfly Cloud CLI

Flags:
      --api-token string   API token from Hoverfly Cloud
      --domain string      Domain name of Hoverfly Cloud
  -h, --help               help for hcc
      --insecure           Allow reverse proxy to private Hoverfly Cloud deployment without certs

Use "hcc [command] --help" for more information about a command.
PreviousCommand line interfaceNextQuickstart

Last updated 3 months ago