Crate forc_util

source ·
Expand description

Utility items shared between forc crates.

Modules

  • Helpers for validating and checking names like package and organization names.

Macros

Structs

  • A wrapper around ForcResult. Designed to be returned from entry points as it handles error reporting and exits with correct exit code.
  • A forc error type which is a wrapper around anyhow::Error. It enables propagation of custom exit code alongisde the original error.

Constants

Functions

Type Definitions

  • A result type for forc operations. This shouldn’t be returned from entry points, instead return ForcCliResult to exit with correct exit code.