ligo info measure-contract SOURCE_FILE
This sub-command compiles a source file and measures the contract's compiled size in bytes.
--display-format FORMAT the format that will be used by the CLI. Available formats are 'dev', 'json', and 'human-readable' (default). When human-readable lacks details (we are still tweaking it), please contact us and use another format in the meanwhile. (alias: --format)
--enable-michelson-typed-opt Enable Michelson optimizations that work using typecking.
--no-warn disable warning messages
--project-root PATH The path to root of the project.
--syntax SYNTAX the syntax that will be used. Currently supported syntaxes are "pascaligo", "cameligo", "reasonligo" and "jsligo". By default, the syntax is guessed from the extension (.ligo, .mligo, .religo, and .jsligo respectively). (alias: -s)
--views VIEWS A list of declaration name that will be compiled as on-chain views, separated by ',' (alias: -v)
--warn-unused-rec warn about unused recursion in a recursive function
--werror treat warnings as errors
-e ENTRY-POINT the entry-point that will be compiled. (alias: --entry-point)
-p PROTOCOL choose protocol's types/values pre-loaded into the LIGO environment (jakarta , kathmandu). By default, the current protocol (jakarta) will be used (alias: --protocol)
-help print this help text and exit (alias: -?)