<span class=toggle-dark><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg></span><span class=toggle-light><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></span></button></div></div></nav></header></div><div class="wrap container-xxl" role=document><div class=content><article><div class="row justify-content-center"><div class="col-md-12 col-lg-10"><div class=blog-header><h1>✨ 1.6.0 Release</h1><p><small>Posted in <a class="stretched-link position-relative link-muted" href=https://criteo.github.io/categories/news/>News</a> on September 18, 2022 by <a class="stretched-link position-relative" href=https://criteo.github.io/command-launcher/contributors/bo-hou/>Bo HOU</a> ‐ <strong>1 min read</strong></small><p></div></div><div class=col-md-13><div><figure class=figure><img class="figure-img img-fluid lazyload blur-up" data-sizes=auto src=https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_60050dd86c09508e07ff109641ac1e38.png data-srcset="https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_df0e6c5e71f7961a9ca7cbc27ea0c405.png 900w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_ac7f746701266a7dd0a07ef956d39e5d.png 800w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_018a930c0e69bc6ec0fc37a676a7a73a.png 700w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_0665862f9409547fec46c8269ee65453.png 600w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_ce553ce26735e50137f03f3f658db042.png 500w" width=1270 height=715 alt="✨ 1.6.0 Release"><noscript><img class="figure-img img-fluid" sizes=100vw srcset="https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_df0e6c5e71f7961a9ca7cbc27ea0c405.png 900w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_ac7f746701266a7dd0a07ef956d39e5d.png 800w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_018a930c0e69bc6ec0fc37a676a7a73a.png 700w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_0665862f9409547fec46c8269ee65453.png 600w,https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_ce553ce26735e50137f03f3f658db042.png 500w" src=https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_1270x715_fill_box_center_3.png width=1270 height=715 alt="✨ 1.6.0 Release"></noscript></figure></div></div><div class="col-md-12 col-lg-9"><h2 id=release-notes>Release notes <a href=#release-notes class=anchor aria-hidden=true>#</a></h2><ul><li>Add the <code>PackageDir</code> context variable to reference the package’s directory, same as the <code>Cache</code> and <code>Root</code> context variables. <code>Cache</code> and <code>Root</code> variables are deprecated.</li><li>Extend the format of the flag definition. Now it is possible to add bool type flags: <code>[name] \t [shorthand] \t [description] \t [type] \t [default]</code>. Currently, two types are supported: <code>string</code> and <code>bool</code>. both <code>type</code> and <code>default value</code> are optional, by default, the type is “string”, and the default value is the empty string.</li><li>New command definition field in manifest, <code>checkFlags</code>. The default value is false, when it is true, before executing the command, the arguments will be parsed, and the parsed flags and args will be passed to the command in the form of an environment variable: <code>[APP_NAME]_FLAG_[FLAG_LONG_NAME]</code> and <code>[APP_NAME]_ARG_[ARG_INDEX_STARTS_FROM_1]</code>.</li><li>New command definition field in manifest: <code>argsUsage</code> to customize the one-line help message. This field will take effect when <code>checkFlags=true</code></li><li>New command definition field in manifest: <code>examples</code> to customize the examples in help message. This field will take effect when <code>checkFlags=true</code></li></ul><div class=mt-4><a class="btn btn-light" href=https://criteo.github.io/tags/release/ role=button>release</a></div></div></div></article><div class=related-posts><div class="row justify-content-center"><div class=col><h2 class=section-title>Related posts</h2></div></div><div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-lg-5"><div class=col><div class=card><img class="card-img-top img-fluid lazyload blur-up" src=https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_14a0dd0b649cfef8df898c4383a88df4.webp data-src=https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_1270x620_resize_q75_h2_box_3.webp width=1270 height=620 alt="✨ 1.7.0 Release Note"><div class=card-body><article><h2 class=h3><a class="stretched-link text-body" href=https://criteo.github.io/command-launcher/blog/1.7.0-release-note/>✨ 1.7.0 Release Note</a></h2><p>Command launcher 1.7.0 Release</p><p><small>Posted in <a class="stretched-link position-relative link-muted" href=https://criteo.github.io/categories/news/>News</a> on November 13, 2022 by <a class="stretched-link position-relative" href=https://criteo.github.io/command-launcher/contributors/bo-hou/>Bo HOU</a> ‐ <strong>1 min read</strong></small><p></article></div></div></div><div class=col><div class=card><img class="card-img-top img-fluid lazyload blur-up" src=https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_14a0dd0b649cfef8df898c4383a88df4.webp data-src=https://criteo.github.io/command-launcher/images/default-image_hu52edeca5cae62b99dc9f1d2237aed73e_4694_1270x620_resize_q75_h2_box_3.webp width=1270 height=620 alt="✨ 1.8.0 Release"><div class=card-body><article><h2 class=h3><a class="stretched-link text-body" href=https://criteo.github.io/command-launcher/blog/1.8.0-release/>✨ 1.8.0 Release</a></h2><p>Command launcher 1.8.0 Release</p><p><small>Posted in <a class="stretched-link position-relative link-muted" href=https://criteo.github.io/categories/news/>News</a> on January 2, 2023 by <a class="stretched-link position-relative" href=https://criteo.github.io/command-launcher/contributors/bo-hou/>Bo HOU</a> ‐ <strong>2 min read</strong></small><p></article></div></div></div></div></div></div></div><footer class="footer text-muted"><div class=container-xxl><div class=row><div class="col-lg-8 order-last order-lg-first"><ul class=list-inline><li class=list-inline-item>Powered by <a class=text-muted href=https://pages.github.com/>Github Pages</a>, <a class=text-muted href=https://gohugo.io/>Hugo</a>, and <a class=text-muted href=https://getdoks.org/>Doks</a></li></ul></div><div class="col-lg-8 order-first order-lg-last text-lg-end"><ul class=list-inline></ul></div></div></div></footer><script src=https://criteo.github.io/command-launcher/js/bootstrap.min.57eee9729e5a5efc9f215bd8f396d53d4f6ee59f58d7201a477238e533026a7db2c277c14c0bf9a316c2a6f3f8b91a0ed3ff3600bc8dea3f01eab0a65b3b7254.js integrity="sha512-V+7pcp5aXvyfIVvY85bVPU9u5Z9Y1yAaR3I45TMCan2ywnfBTAv5oxbCpvP4uRoO0/82ALyN6j8B6rCmWztyVA==" crossorigin=anonymous defer></script>
0 commit comments