doctum:tldr:f4889
The command doctum update --only-version=${version} is running the doctum command with the update argument and the --only-version option.
Here's a breakdown of each component:
-
doctum: It is the main executable that refers to a documentation generator tool called Doctum. Doctum helps in generating documentation for PHP projects. -
update: It is an argument provided todoctumcommand, specifying that the tool should update the documentation. It typically fetches the latest changes from the project codebase and regenerates the documentation accordingly. -
--only-version=${version}: It is an option provided to thedoctumcommand that instructs it to only update the documentation for a specific version. The${version}placeholder represents a variable that should be replaced with the desired version number. For example, if you want to update the documentation for version 1.2, you would replace${version}with1.2.
Overall, this command ensures that only the documentation for a specific version is updated using Doctum.