Skip to content

List of CodeDefiner Commands

Overview

List of commands and arguments for "CodeDefiner".

Command List

1. _rds Command

Overview

Used when creating a database.

Argument Value Description
/y None Skip execution confirmation screen
/f None Allow column to be reduced
/p Example: /p C:\home\site\wwwroot Absolute path of Implem.Pleasanter
Mainly used for installing and upgrading Azure App Service
/l ja Rewrites the value of DefaultLanguage in Service.json (*1)
/z Asia/Tokyo Rewrites the value of TimeZoneDefault in Service.json (*1)
/c None Outputs a list of the names of tables whose configuration has changed. The actual table configuration is not changed.

*1 "/l" and "/z" are executed only during initial installation.

Usage example

dotnet Implem.CodeDefiner.dll _rds /y

2. merge Command

Overview

Used for merging parameters when upgrading.

Argument Value Description
/b Example: C:\web\pleasanter_bk Absolute path to Pleasanter backup folder
/i Example: C:\web\pleasanter Absolute path to latest version of Pleasanter
dotnet Implem.CodeDefiner.dll merge /b C:\web\pleasanter_bk /i C:\web\pleasanter

3. migrate Command

Overview

Migrates Pleasanter data to a different type of DB.
For detailed usage, see "Migration procedure Pleasanter data to a different type of DB".

Because the command executes the processing of the _rds command internally, you can specify the same arguments.

Argument Value Description
/y None Skip execution confirmation screen
/f None Allow column to be reduced
/p Example: /p C:\home\site\wwwroot Absolute path of Implem.Pleasanter
Mainly used for installing and upgrading Azure App Service
/l ja Rewrites the value of DefaultLanguage in Service.json (*1)
/z Asia/Tokyo Rewrites the value of TimeZoneDefault in Service.json (*1)

*1 "/l" and "/z" are executed only during initial installation.

Usage example

dotnet Implem.CodeDefiner.dll migrate

4. trial Command

Overview

Makes the functions of the commercial license available for a limited period.
For detailed usage, see "Pleasanter Extensions Trial".

Argument Value Description
/y None Skip execution confirmation screen
/e None Load the column extension settings from the json file

Usage example

dotnet Implem.CodeDefiner.dll trial

5. ConvertTime Command

Overview

Adds or subtracts the specified number of hours to or from the date columns stored in the database. The update date and time in comment columns are also converted.
This is mainly used when you want to convert date data in bulk, such as when migrating a database to an environment with a different time zone.

Argument Value Description
/h Example: -9 Specify the number of hours to add (specify a negative value to subtract). If omitted, "-9" is used.

Usage example

dotnet Implem.CodeDefiner.dll ConvertTime /h 10

Supported Versions

Supported Versions Body
1.4.6.0 and later Added arguments "/l" and "/z" to the _rds command
1.4.8.0 and later Newly added merge command. Added arguments "/y" and "/f" to the _rds command

FAQ: What is CodeDefiner?