{"id":10708,"date":"2018-08-10T15:00:37","date_gmt":"2018-08-10T06:00:37","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=10708"},"modified":"2018-08-10T15:30:15","modified_gmt":"2018-08-10T06:30:15","slug":"google-apps-scriptcli%e3%83%84%e3%83%bc%e3%83%ab%e3%80%8cclasp%e3%80%8d%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%81%be%e3%81%97%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=10708","title":{"rendered":"[Google Apps Script]CLI\u30c4\u30fc\u30eb\u300cclasp\u300d\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002"},"content":{"rendered":"<p>\u4eca\u5e74\u306e\u521d\u3081\u306b\u8a71\u984c\u306b\u306a\u3063\u305f\u3001GAS\u306eCLI(Command Line Interface)\u30c4\u30fc\u30eb\u300c<a href=\"https:\/\/github.com\/google\/clasp\" title=\"GitHub - google_clasp Develop Apps Script projects locally\" target=\"_blank\">clasp<\/a>\u300d\u3092\u4eca\u66f4\u306a\u304c\u3089\u306b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>Google Apps Script\u306e\u65b0\u3057\u30443\u3064\u306e\u6a5f\u80fd \u305d\u306e\u2462 CLI Tool Clasp<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/qiita.com\/soundTricker\/items\/354a993e354016945e44\" target=\"_blank\" title=\"Google Apps Script\u306e\u65b0\u3057\u30443\u3064\u306e\u6a5f\u80fd \u305d\u306e\u2462 CLI Tool Clasp\">https:\/\/qiita.com\/soundTricker\/items\/354a993e354016945e44<\/a><\/li>\n<li>GAS \u306eGoogle\u8b39\u88fdCLI\u30c4\u30fc\u30eb clasp<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/qiita.com\/HeRo\/items\/4e65dcc82783b2766c03\" target=\"_blank\" title=\"GAS \u306eGoogle\u8b39\u88fdCLI\u30c4\u30fc\u30eb clasp\">https:\/\/qiita.com\/HeRo\/items\/4e65dcc82783b2766c03<\/a><\/li>\n<li>5\u5206\u3067\u4f5c\u308bclasp\u3092\u4f7f\u3063\u305fGoogle Apps Script\u306e\u958b\u767a\u74b0\u5883<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/qiita.com\/suin\/items\/b264092eab3ce553f16a\" target=\"_blank\" title=\"5\u5206\u3067\u4f5c\u308bclasp\u3092\u4f7f\u3063\u305fGoogle Apps Script\u306e\u958b\u767a\u74b0\u5883\">https:\/\/qiita.com\/suin\/items\/b264092eab3ce553f16a<\/a><\/li>\n<li>Google Apps Script \u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u5feb\u9069\u306b\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u308a\u307e\u3057\u305f<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/qiita.com\/howdy39\/items\/0e799a9bfc1d3bccf6e5\" target=\"_blank\" title=\"Google Apps Script \u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u5feb\u9069\u306b\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u308a\u307e\u3057\u305f\">https:\/\/qiita.com\/howdy39\/items\/0e799a9bfc1d3bccf6e5<\/a><\/li>\n<li>Google Apps Script \u306e\u30c7\u30d7\u30ed\u30a4\u3092 Circle CI \u304b\u3089\u884c\u3046<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/qiita.com\/howdy39\/items\/2c21251331e011d04512\" target=\"_blank\" title=\"Google Apps Script \u306e\u30c7\u30d7\u30ed\u30a4\u3092 Circle CI \u304b\u3089\u884c\u3046\">https:\/\/qiita.com\/howdy39\/items\/2c21251331e011d04512<\/a><\/li>\n<li>clasp\u3092\u4f7f\u3044\u3001Google Apps Script\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092git\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3059\u308b<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/qiita.com\/rf_p\/items\/7492375ddd684ba734f8\" target=\"_blank\" title=\"clasp\u3092\u4f7f\u3044\u3001Google Apps Script\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092git\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3059\u308b\">https:\/\/qiita.com\/rf_p\/items\/7492375ddd684ba734f8<\/a><\/li>\n<li>clasp\u3068TypeScript\u306e\u578b\u5b9a\u7fa9\u3067\u697d\u3092\u3059\u308b2018\u5e74\u306eGoogle Apps Script\u958b\u767a &#8211; mottox2 blog<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/mottox2.com\/posts\/160\/\" target=\"_blank\" title=\"clasp\u3068TypeScript\u306e\u578b\u5b9a\u7fa9\u3067\u697d\u3092\u3059\u308b2018\u5e74\u306eGoogle Apps Script\u958b\u767a - mottox2 blog\">https:\/\/mottox2.com\/posts\/160\/<\/a><\/li>\n<li>G Suite Developers Blog: 3 new tools to help improve your Apps Script development and management experience<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/gsuite-developers.googleblog.com\/2018\/01\/three-new-tools-to-help-improve-your.html\" target=\"_blank\" title=\"G Suite Developers Blog: 3 new tools to help improve your Apps Script development and management experience\">https:\/\/gsuite-developers.googleblog.com\/2018\/01\/three-new-tools-to-help-improve-your.html<\/a><\/li>\n<\/ul>\n<p>\u4e0a\u8a18\u306e\u901a\u308a\u3001\u4e01\u5be7\u306a\u89e3\u8aac\u304c\u8a18\u8f09\u3055\u308c\u305f\u30b5\u30a4\u30c8\u304c\u3059\u3067\u306b\u6570\u591a\u304f\u3042\u308a\u307e\u3059\u304c\u3001\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u5927\u4e8b\u3067\u3059\u306d\uff01<\/p>\n<h4 class=\"style4a\">\u6e96\u5099<\/h4>\n<p>clasp\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306fnpm\u3067\u884c\u3046\u305f\u3081\u3001<a href=\"https:\/\/nodejs.org\/ja\/\" title=\"Node.js\" target=\"_blank\">Node.js<\/a>\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u307e\u305a\u306f\u4e0b\u8a18\u8a18\u4e8b\u3092\u53c2\u8003\u306bNode.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=8023\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins-120x120.png' alt='YO OFFICE(Yeoman)\u3092\u4f7f\u3063\u3066Office \u30a2\u30c9\u30a4\u30f3\u306e\u3072\u306a\u578b\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2017.02.28<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=8023\">YO OFFICE(Yeoman)\u3092\u4f7f\u3063\u3066Office \u30a2\u30c9\u30a4\u30f3\u306e\u3072\u306a\u578b\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 <\/a><\/div><div class=\"cardlink_excerpt\">Web\u30a2\u30d7\u30ea\u306e\u3072\u306a\u578b\u3092\u4e00\u767a\u3067\u4f5c\u3063\u3066\u304f\u308c\u308b\u4fbf\u5229\u30c4\u30fc\u30eb\u300cYeoman\u300d\u306b\u306f\u3001Office \u30a2\u30c9\u30a4\u30f3\u7528\u306eGenerator\u300cYO OFFICE\u300d\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\r\n\r\n\u4eca\u56de\u306f\u3053\u306eGenerator\u3092\u4f7f\u3063\u3066Office \u30a2\u30c9\u30a4\u30f3\u306e\u3072\u306a\u578b\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n<h4 class=\"style4a\">Google Apps Script API\u306e\u6709\u52b9\u5316<\/h4>\n<p>clasp\u306f\u300c<a href=\"https:\/\/developers.google.com\/apps-script\/api\/\" title=\"Apps Script API  |  Google Developers\" target=\"_blank\">Google Apps Script API<\/a>\u300d\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001GAS\u306e\u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a\u753b\u9762(<a href=\"https:\/\/script.google.com\/home\/usersettings\" title=\"Google Apps Script\" target=\"_blank\">https:\/\/script.google.com\/home\/usersettings<\/a>)\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">Google Apps Script API<\/span>\u300d\u3092<span style=\"color: #ff0000; font-weight: bold;\">\u30aa\u30f3<\/span>\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_01.jpg\" alt=\"\" width=\"327\" height=\"633\" class=\"alignnone size-full wp-image-10709\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_01.jpg 327w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_01-155x300.jpg 155w\" sizes=\"auto, (max-width: 327px) 100vw, 327px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_02.jpg\" alt=\"\" width=\"930\" height=\"346\" class=\"alignnone size-full wp-image-10710\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_02.jpg 930w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_02-300x112.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_02-768x286.jpg 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><\/a><\/p>\n<h4 class=\"style4a\">clasp\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001clasp\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install -g @google\/clasp<\/pre>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_03.jpg\" alt=\"\" width=\"711\" height=\"175\" class=\"alignnone size-full wp-image-10711\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_03.jpg 711w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_03-300x74.jpg 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/a><\/p>\n<h4 class=\"style4a\">\u30ed\u30b0\u30a4\u30f3<\/h4>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066Google\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">clasp login<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u753b\u9762\u306b\u5f93\u3063\u3066Google\u30a2\u30ab\u30a6\u30f3\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_04.jpg\" alt=\"\" width=\"480\" height=\"526\" class=\"alignnone size-full wp-image-10712\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_04.jpg 480w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_04-274x300.jpg 274w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_05.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_05.jpg\" alt=\"\" width=\"470\" height=\"1013\" class=\"alignnone size-full wp-image-10713\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_05.jpg 470w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_05-139x300.jpg 139w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/a><\/p>\n<h4 class=\"style4a\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/h4>\n<p>\u30ed\u30b0\u30a4\u30f3\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u3044\u3088\u3044\u3088\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u3092\u958b\u304d\u3001\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059(\u300cproject1\u300d\u306f\u4f5c\u6210\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d)\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">clasp create project1<\/pre>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_06.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_06.jpg\" alt=\"\" width=\"891\" height=\"202\" class=\"alignnone size-full wp-image-10714\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_06.jpg 891w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_06-300x68.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_06-768x174.jpg 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/a><\/p>\n<p>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u306a\u306e\u3067\u3059\u304c\u3001\u79c1\u306e\u74b0\u5883\u3067\u306f\u4f55\u6545\u304b\u8868\u793a\u3055\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u624b\u52d5\u3067GAS\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u753b\u9762(<a href=\"https:\/\/script.google.com\/home\" title=\"Google Apps Script\" target=\"_blank\">https:\/\/script.google.com\/home<\/a>)\u3092\u958b\u3044\u3066\u307f\u308b\u3068\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">clasp open<\/pre>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_07.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_07.jpg\" alt=\"\" width=\"538\" height=\"252\" class=\"alignnone size-full wp-image-10715\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_07.jpg 538w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_07-300x141.jpg 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/a><\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3082\u3061\u3083\u3093\u3068\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_08.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_08.jpg\" alt=\"\" width=\"510\" height=\"218\" class=\"alignnone size-full wp-image-10716\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_08.jpg 510w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_08-300x128.jpg 300w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/a><\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u30d5\u30a9\u30eb\u30c0\u306e\u65b9\u306b\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8ID\u304c\u8a18\u8f09\u3055\u308c\u305f\u300c<span style=\"color: #ff0000; font-weight: bold;\">.clasp.json<\/span>\u300d\u30d5\u30a1\u30a4\u30eb\u3068\u3001\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3084\u30ed\u30b0\u306e\u8a18\u9332\u5834\u6240\u3001\u30b9\u30b3\u30fc\u30d7\u7b49\u304c\u8a18\u8f09\u3055\u308c\u305f\u300c<a href=\"https:\/\/qiita.com\/tanaike\/items\/b3538e7550555ebb51f5\" title=\"Google Apps Script\u306b\u8ffd\u52a0\u3055\u308c\u305f\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306b\u3064\u3044\u3066\" target=\"_blank\">appsscript.json<\/a>\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_09.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_09.jpg\" alt=\"\" width=\"414\" height=\"182\" class=\"alignnone size-full wp-image-10717\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_09.jpg 414w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_09-300x132.jpg 300w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/><\/a><\/p>\n<h4 class=\"style4a\">\u30b3\u30fc\u30c9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h4>\n<p>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u30d5\u30a9\u30eb\u30c0\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">clasp pull<\/pre>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_10.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_10.jpg\" alt=\"\" width=\"631\" height=\"495\" class=\"alignnone size-full wp-image-10718\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_10.jpg 631w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_10-300x235.jpg 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><\/p>\n<h4 class=\"style4a\">\u30b3\u30fc\u30c9\u306e\u7de8\u96c6<\/h4>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30b3\u30fc\u30c9(Code.js)\u3092\u9069\u5f53\u306b\u7de8\u96c6\u3057\u307e\u3059(\u6587\u5b57\u30b3\u30fc\u30c9\uff1aUTF-8)\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">function myFunction() {\r\n  Logger.log(&quot;\u3053\u3093\u306b\u3061\u306f\u3001\u4e16\u754c\uff01&quot;);\r\n}<\/pre>\n<h4 class=\"style4a\">\u30b3\u30fc\u30c9\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h4>\n<p>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u3092GAS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">clasp push<\/pre>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_11.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_11.jpg\" alt=\"\" width=\"613\" height=\"165\" class=\"alignnone size-full wp-image-10719\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_11.jpg 613w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_11-300x81.jpg 300w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/a><\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u958b\u304f\u3068\u3001\u7de8\u96c6\u3057\u305f\u30b3\u30fc\u30c9\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_12.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_12.jpg\" alt=\"\" width=\"498\" height=\"236\" class=\"alignnone size-full wp-image-10720\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_12.jpg 498w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_12-300x142.jpg 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_13.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_13.jpg\" alt=\"\" width=\"719\" height=\"540\" class=\"alignnone size-full wp-image-10721\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_13.jpg 719w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_13-300x225.jpg 300w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/p>\n<h4 class=\"style4a\">\u30ed\u30b0\u30a2\u30a6\u30c8<\/h4>\n<p>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u30ed\u30b0\u30a2\u30a6\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">clasp logout<\/pre>\n<div id=\"single_banner_area2\" class=\"clearfix one_banner\">\n<div class=\"single_banner single_banner_left\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u8a18\u4e8b\u4e2d(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5e83\u544a\u30e6\u30cb\u30c3\u30c8) -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-7306936664602087\"\r\n     data-ad-slot=\"5429724765\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<div class=\"single_banner single_banner_right\">\n<a href=\"\" target=\"_blank\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\" \/><\/a>\n<\/div>\n<\/div>\n\n<p>clasp\u3092\u4f7f\u3046\u3068\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u7c21\u5358\u306bGAS\u958b\u767a\u3067\u304d\u308b\u3053\u3068\u3092\u4f53\u9a13\u3067\u304d\u307e\u3057\u305f\uff01<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u30c7\u30d7\u30ed\u30a4\u3082\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u305d\u308c\u3089\u306b\u3064\u3044\u3066\u306f\u300c<a href=\"https:\/\/qiita.com\/soundTricker\/items\/354a993e354016945e44\" title=\"Google Apps Script\u306e\u65b0\u3057\u30443\u3064\u306e\u6a5f\u80fd \u305d\u306e\u2462 CLI Tool Clasp\" target=\"_blank\">Google Apps Script\u306e\u65b0\u3057\u30443\u3064\u306e\u6a5f\u80fd \u305d\u306e\u2462 CLI Tool Clasp<\/a>\u300d\u3084\u300c<a href=\"https:\/\/qiita.com\/HeRo\/items\/4e65dcc82783b2766c03\" title=\"GAS \u306eGoogle\u8b39\u88fdCLI\u30c4\u30fc\u30eb clasp\" target=\"_blank\">GAS \u306eGoogle\u8b39\u88fdCLI\u30c4\u30fc\u30eb clasp<\/a>\u300d\u3068\u3044\u3063\u305f\u30b5\u30a4\u30c8\u304c\u53c2\u8003\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h4 class=\"style4a\">Visual Studio Code\u3067\u306e\u30b3\u30fc\u30c9\u88dc\u5b8c<\/h4>\n<p>GAS\u7528\u306e\u578b\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306f\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3067(<a href=\"https:\/\/www.npmjs.com\/package\/@types\/google-apps-script\" title=\"@types\/google-apps-script - npm\" target=\"_blank\">npm install &#8211;save @types\/google-apps-script<\/a>)\u3001<a href=\"https:\/\/code.visualstudio.com\/\" title=\"Visual Studio Code - Code Editing. Redefined\" target=\"_blank\">Visual Studio Code<\/a>\u3092\u4f7f\u3048\u3070\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u30a4\u30f3\u30c6\u30ea\u30bb\u30f3\u30b9\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u306d\uff01<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_14.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_14.jpg\" alt=\"\" width=\"889\" height=\"383\" class=\"alignnone size-full wp-image-10722\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_14.jpg 889w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_14-300x129.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/GoogleAppsScript_clasp_14-768x331.jpg 768w\" sizes=\"auto, (max-width: 889px) 100vw, 889px\" \/><\/a><\/p>\n<p>\u79c1\u306f\u307e\u3060\u4f7f\u3063\u305f\u3053\u3068\u304c\u7121\u3044\u306e\u3067\u3059\u304c\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3055\u308c\u305f\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u8208\u5473\u304c\u3042\u308b\u65b9\u306f\u4f7f\u7528\u3055\u308c\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<ul>\n<li>Google Apps Script \u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u5feb\u9069\u306b\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u308a\u307e\u3057\u305f<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/qiita.com\/howdy39\/items\/0e799a9bfc1d3bccf6e5\" target=\"_blank\" title=\"Google Apps Script \u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u5feb\u9069\u306b\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u308a\u307e\u3057\u305f\">https:\/\/qiita.com\/howdy39\/items\/0e799a9bfc1d3bccf6e5<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"\u4eca\u5e74\u306e\u521d\u3081\u306b\u8a71\u984c\u306b\u306a\u3063\u305f\u3001GAS\u306eCLI(Command Line Interface)\u30c4\u30fc\u30eb\u300cclasp\u300d\u3092\u4eca\u66f4\u306a\u304c\u3089\u306b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002 Google Apps Script\u306e\u65b0\u3057\u30443\u3064\u306e\u6a5f\u80fd \u305d\u306e\u2462 CLI Tool [&hellip;]","protected":false},"author":1,"featured_media":7113,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[[Google Apps Script]CLI\u30c4\u30fc\u30eb\u300cclasp\u300d\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[126],"tags":[],"class_list":["post-10708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Google.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-2MI","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10708"}],"version-history":[{"count":1,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10708\/revisions"}],"predecessor-version":[{"id":10723,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10708\/revisions\/10723"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7113"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}