
feature
-
disable
… Disable one or more features -
enable
… Enable one or more features -
list [/Summary:true|false]
Display list of available features
codegen
-
controller
Create a new Orchard controller in a module -
datamigration
Create a new Data Migration class -
module
[/IncludeInSolution:true|false] Create a new Orchard module -
theme
[/CreateProject:true|false][/IncludeInSolution:true|false][/BasedOn: ] Create a new Orchard theme -
moduletests
Create a new test for a module
package
-
create
Create a package for the extension <extensionName> (an extension being a module or a theme). The package will be output at the <path> specified. The default filename is Orchard.[Module|Theme].<extensionName>.<extensionVersion>.nupkg. For example, "package create SampleModule c:temp" will create the package "c:tempOrchard.Module.SampleModule.1.0.0.nupkg". -
install
/Version: Install a module or a theme from a package file. -
uninstall
Uninstall a module or a theme. The <packageId> should take the format Orchard.[Module|Theme].<extensionName>. For example, "package uninstall Orchard.Module.SampleModule" will uninstall the Module under the "~/Modules/SampleModule" directory and "package uninstall Orchard.Theme.SampleTheme" will uninstall the Theme under the "~/Themes/SampleTheme" directory.




近期评论