Module wapm_cli::util

source ·

Structs

A wrapper type that ensures that the inner type is only set once
Global variable that determines the behavior of prompts

Enums

Statics

Functions

We put this in a new function, to be clear that runtime can be both
Asks the user to confirm something. Returns a boolean indicating if the user consented or if the WAPM_FORCE_YES_TO_PROMPTS variable is set
Checks whether a given package name is acceptable or not
Checks whether a given package name is acceptable or not
Checks whether a given command / runner name is acceptable or not
If true, prompts should not ask for user input