Skip to main content

init

Usage: cli-forge init <cliName>

Generate a new CLI

Positional Arguments

cliName

Type: string

Name of the CLI to generate.

Required

Flags

help

Type: boolean

Show help for the current command

Aliases

  • h

version

Type: boolean

Show the version number for the CLI

output

Type: string

Where should the CLI be created?

Aliases

  • o

format

Type: string

What format should the CLI be in?

Default: "ts"

Valid values: js, ts

initialVersion

Type: string

Initial version used when creating the package.json for the new CLI.

Default: "0.0.1"