Skip to content

Commit a817729

Browse files
committed
fix: Improved import help
1 parent 113e752 commit a817729

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/commands/import.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import { ShellUtils } from '../utils/shell.js';
99
export default class Import extends BaseCommand {
1010
static strict = false;
1111
static override description =
12-
`Generate Codify configurations from already installed packages. Use a space-separated list of
13-
arguments to specify the resource types to import. If a codify.json file already
14-
exists, omit arguments to update the file to match the system.
12+
`Generate Codify configurations from already installed packages.
13+
14+
Use a space-separated list of arguments to specify the resource types to import.
15+
If a codify.json file already exists, omit arguments to update the file to match the system.
1516
1617
${chalk.bold('Modes:')}
1718
1. ${chalk.bold('No args:')} If no args are specified and an *.codify.json already exists, Codify
@@ -25,8 +26,7 @@ using '*' and '?' (${chalk.italic('Note: in zsh * expands to the current dir and
2526
A prompt will be shown if more information is required to complete the import.
2627
2728
${chalk.underline('Examples:')}
28-
codify import nvm asdf
29-
codify import \\*,
29+
codify import nvm asdf*
3030
codify import \\* (for importing all supported resources)
3131
3232
The results can be saved in one of three ways:
@@ -39,7 +39,7 @@ Codify will attempt to smartly insert new configurations while preserving existi
3939
For more information, visit: https://docs.codifycli.com/commands/import`
4040

4141
static override examples = [
42-
'<%= config.bin %> <%= command.id %> homebrew nvm asdf\\*',
42+
'<%= config.bin %> <%= command.id %> homebrew nvm asdf',
4343
'<%= config.bin %> <%= command.id %>',
4444
'<%= config.bin %> <%= command.id %> git-clone --path ../my/other/folder',
4545
'<%= config.bin %> <%= command.id %> \\*'

0 commit comments

Comments
 (0)