Laoban will add the appropriate details to a directory if you call the following command:
laoban admin newpackage <directory>
You can call it
laoban admin newpackage
)laoban admin newpackage modules\mynewpackage
)This command will create a package.details.json
file in the directory you specify. It will use information from
a package.json
file if that exists to work out things like names/descriptions/links and the template to use
laoban admin newpackage # creates a package.details.json in the current directory
laoban admin newpackage modules\mynewpackage # creates a package.details.json in the modules\mynewpackage directory
laoban admin newpackage --template javascript # creates a package.details.json in the current directory using the javascript template