logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dub-convert - Converts the file format of the package recipe.

Author

       Copyright (c) 1999-2025 by The D Language Foundation

Description

       This command will convert between JSON and SDLang formatted package recipe files.

       Warning:  Beware  that  any  formatting  and  comments  within  the  package  recipe will get lost in the
       conversion process.

Exit Status

0      DUB succeeded

       1      usage errors, unknown command line flags

       2      package not found, package failed to load, miscellaneous error

Files

dub.sdl, dub.json

Name

       dub-convert - Converts the file format of the package recipe.

Online Documentation

Options

-f, --format=VALUE
           Specifies the target package recipe format. Possible values:
             json, sdl

       -s, --stdout
           Outputs the converted package recipe to stdout instead of writing to disk.

   COMMONOPTIONS
       See dub(1)

See Also

dub(1), dub-add(1), dub-init(1)

The D Language Foundation                          2025-01-22                                     DUB-CONVERT(1)

Synopsis

dubconvertOPTIONS...

See Also