Skip to content

Commit 3a06471

Browse files
committed
chore: remove unused code and update comments
1 parent 25f6536 commit 3a06471

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

command/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const deleteCommand = new Command('delete')
99
.option('-t --token <token>', 'access token', '')
1010
.action(async (remote, options, { pcs }) => {
1111
if (pcs.resolve(remote) === pcs.resolve('/')) {
12-
console.log(chalk.red('You are about to delete the root directory of the application, which will lose all data'));
12+
console.log(chalk.redBright('You are about to delete the root directory of the application, which will lose all data'));
1313
const { confirm } = await prompts({
1414
type: 'confirm',
1515
name: 'confirm',

command/fetch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { Command } from '@commander-js/extra-typings';
44
import chalk from 'chalk';
55

66
export const fetchCommand = new Command('fetch')
7-
.description('fetch source to remote')
8-
.argument('[source]', 'source path', sep)
7+
.description('offline download')
8+
.argument('[url]', 'url', sep)
99
.argument('[remote]', 'remote path', '.')
1010
.option('-t --token <token>', 'access token', '')
1111
.action(async (source, remote, options, { pcs }) => {

0 commit comments

Comments
 (0)