@@ -9,9 +9,10 @@ import { ShellUtils } from '../utils/shell.js';
99export 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:' ) }
17181. ${ 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
2526A 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*
3030codify import \\* (for importing all supported resources)
3131
3232The results can be saved in one of three ways:
@@ -39,7 +39,7 @@ Codify will attempt to smartly insert new configurations while preserving existi
3939For 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