Skip to content

Commit

Permalink
fix: update cli
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 9, 2022
1 parent 9678b98 commit 61e4943
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { relative } from 'node:path'
import mri from 'mri'
import { cyan } from 'colorette'
import { downloadRepo } from './giget'
import { downloadTemplate } from './giget'
import { startShell } from './_utils'

async function main () {
Expand All @@ -15,7 +15,8 @@ async function main () {
process.exit(1)
}

const r = await downloadRepo(input, dir, {
const r = await downloadTemplate(input, {
dir,
force: args.force,
forceClean: args['force-clean'],
offline: args.offline
Expand Down

0 comments on commit 61e4943

Please sign in to comment.