MCPcopy Create free account
hub / github.com/formkit/formkit / askForVersion

Function askForVersion

scripts/deploy.mjs:34–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32).version
33
34async function askForVersion() {
35 const { version } = await prompts({
36 type: 'text',
37 name: 'version',
38 message: `What version are you deploying (1.0.0-alpha.x)?`,
39 })
40 return version
41}
42
43async function deploy(version, options) {
44 if (!version) {

Callers 1

deployFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected