Skip to content

Commit

Permalink
Update README to add new options
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Jan 20, 2024
1 parent 2c5629d commit e27372c
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,23 @@ Usage:
vendor/bin/odoo-model-classes-generator [options] [--] <basePath> <baseNamespace>

Arguments:
basePath The path where classes will be generated (ex: ./src/OdooModel/Object)
baseNamespace The base namespace of the generated classes (ex: "App\OdooModel\Object")
basePath The path where classes will be generated (ex: ./src/OdooModel/Object)
baseNamespace The base namespace of the generated classes (ex: "App\OdooModel\Object")

Options:
--host[=HOST] Your Odoo base host (default: http://localhost:8069) [default: "http://localhost:8069"]
--database[=DATABASE] Your Odoo database name (default: odoo-master) [default: "odoo-master"]
--username[=USERNAME] Your Odoo account username. (default: admin) [default: "admin"]
--password[=PASSWORD] Your Odoo account password or API key (since Odoo v14, default: admin) [default: "admin"]
-h, --help Display help for the given command. When no command is given display help for the vendor/bin/odoo-model-classes-generator command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--host[=HOST] Your Odoo base host (default: http://localhost:8069) [default: "http://localhost:8069"]
--database[=DATABASE] Your Odoo database name (default: odoo-master) [default: "odoo-master"]
--username[=USERNAME] Your Odoo account username. (default: admin) [default: "admin"]
--password[=PASSWORD] Your Odoo account password or API key (since Odoo v14, default: admin) [default: "admin"]
--only-model[=ONLY-MODEL] Filter the model list with the model you will set in this option. (multiple values allowed)
--exclude-model[=EXCLUDE-MODEL] Filter the model list excluding the model you will set in this option. (multiple values allowed)
-h, --help Display help for the given command. When no command is given display help for the vendor/bin/odoo-model-classes-generator command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Example :
./vendor/bin/odoo-model-classes-generator \
--host http://localhost:8069 \
Expand Down

0 comments on commit e27372c

Please sign in to comment.