fastly-cli

command module
v0.0.0-...-675a61e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 3 Imported by: 0

README

Fastly CLI

make run ARGS="-h"

TODO

  • Figure out strategies and patterns.
    • API mapping commands:
      • Validate flags (e.g. can't use --verbose and --json at same time)
      • Print output (normal, verbose, JSON)
    • Error handling (e.g. remediation errors design).
    • Compute command for setting up and creating a service.
  • Possible generics (or more likely code-generation from OpenAPI schemas) for API mapping commands.
    • Otherwise manually implement each API mapping command 🙈

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
app
Package app provides a single entry point for the CLI.
Package app provides a single entry point for the CLI.
cmds/backend
Package backend provides sub commands for managing backends (origin servers).
Package backend provides sub commands for managing backends (origin servers).
cmds/vcl
Package vcl provides sub commands for managing VCL.
Package vcl provides sub commands for managing VCL.
cmds/vcl/snippet
Package snippet contains sub commands for managing versioned and dynamic VCL.
Package snippet contains sub commands for managing versioned and dynamic VCL.
config
Package config manages global CLI configuration.
Package config manages global CLI configuration.
env
Package env defines supported environment variables.
Package env defines supported environment variables.
global
Package global defines a globally accessible data structure.
Package global defines a globally accessible data structure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL