Notion-MW
Notion-MW
 
(同じ利用者による、間の1版が非表示)
113行目: 113行目:
             print(f"Failed to create {name} command. Error: {r.text}")
             print(f"Failed to create {name} command. Error: {r.text}")
         else:
         else:
             print(f"Successfully created {name} command")
             print(f"Successfully created {name} command")</syntaxhighlight>
</syntaxhighlight>
</div></div>
</div></div>


127行目: 126行目:


[https://www.netlify.com/blog/intro-to-serverless-functions/#traditional-serverless-functions https&#58;//www.netlify.com/blog/intro&#45;to&#45;serverless&#45;functions/&#35;traditional&#45;serverless&#45;functions]
[https://www.netlify.com/blog/intro-to-serverless-functions/#traditional-serverless-functions https&#58;//www.netlify.com/blog/intro&#45;to&#45;serverless&#45;functions/&#35;traditional&#45;serverless&#45;functions]
以下ではこれの通りCommonJS形式で説明する。ES Modules形式の場合の注意点も↑に書いてある。


ntl initで全部やってもいいが、loginは別でやったほうがわかりやすいかも
ntl initで全部やってもいいが、loginは別でやったほうがわかりやすいかも


githubへのアクセスを認めなきゃならんのはなんでなのかよくわかってない
<s>githubへのアクセスを認めなきゃならんのはなんでなのかよくわかってない</s>


* [https://docs.netlify.com/cli/get-started/ https&#58;//docs.netlify.com/cli/get&#45;started/] ここに For repositories on GitHub, you can also connect your repository manually, if you prefer to give more limited, repository&#45;only access for your repositories on GitHub って書いてあった。てかinitのメニューで確かにそんなん出てたな
* [https://docs.netlify.com/cli/get-started/ https&#58;//docs.netlify.com/cli/get&#45;started/] ここに For repositories on GitHub, you can also connect your repository manually, if you prefer to give more limited, repository&#45;only access for your repositories on GitHub って書いてあった。てかinitのメニューで確かにそんなん出てたな