Skip to content

Commit

Permalink
Chore: 代办清单
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Nov 24, 2023
1 parent c518681 commit 3b8f70c
Show file tree
Hide file tree
Showing 5 changed files with 1,000 additions and 6 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# fixit-cli
# FixIt CLI

- [ ] CI/CD
- [ ] update README.md
- [ ] fixit update command
- [ ] fixit -l option
15 changes: 12 additions & 3 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,18 @@ built with love by Lruihao and his friends.\n
Complete documentation is available at ${chalk.cyan('https://fixit.lruihao.cn/')}.`

// define commands
program.command('create <project-name>').description('create a new FixIt project from a template').action(createAction)
program.command('update').description('update the FixIt theme to the latest version').action(updateAction)
program.command('help <command>').description('display help for a specific command').action(helpAction)
program
.command('create <project-name>')
.description('create a new FixIt project from a template')
.action(createAction)
program
.command('update')
.description('update the FixIt theme to the latest version')
.action(updateAction)
program
.command('help <command>')
.description('display help for a specific command')
.action(helpAction)

// define options
program.option('-l, --latest', 'check the latest version of FixIt theme')
Expand Down
Loading

0 comments on commit 3b8f70c

Please sign in to comment.