<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>Gulp</anon>
    <anon>Node.js</anon>
  </categories>
  <description>以前 Gulpでタスクを指定して実行することで無理やり処理を分岐させる方法を書いていました。 今回同じような需要が合って調べているとgulp実行時コマンドに直接キーと引数を渡せる素晴らしい方法があったのでメモ。 minimistを使ってコマンドラインから変数を渡す minimistというコマンドラインの引数をパースできるモジュールがあるようです。 var parseArgs = require('minimist') var argv = parseArgs(args, opts={}) EX: コマンドラインの引数 // example.js const options = require(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2018%2F03%2F30%2F090000&quot; title=&quot;Gulp node.js 実行時に変数を渡して処理を分岐させたい - かもメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/51jCNjgr3NL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-30 09:00:00</published>
  <title>Gulp node.js 実行時に変数を渡して処理を分岐させたい</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2018/03/30/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
