https://fortee.jp/phperkaigi-2024/proposal/39710935-b617-466a-8ceb-1677cb42fa04
The terminal is a powerful place: In a single line of arcane shell magic, you can transform files and parse data at will. But it can take many years of regular use to become a shell wizard. Even with solid proficiency, most of us regularly need to optimistically type --help or scroll through man pages. Oftentimes, you simply turn to a web search, hopefully finding something like a relevant StackOv
ãããã®ã¢ããã³ãã«ã¬ã³ãã¼2022 13æ¥ç®ã®è¨äºã§ãã qiita.com ãµã¼ãéç¨ãè¡ãªã£ã¦ããã¨ãéåæã§è¡ããããµã¼ãã®è¨å®åæ ãèµ·åãå¾ ã£ãããã¡ã³ããã³ã¹å¾ã«ç£è¦ãåéããåã«ãããå¾ ã¤ãªãã¦ãã¨ããããã¨æãã¾ãã ãããªæã«ã人åã§3åå¾ ã£ããã³ãã³ããæã¤ãWebã³ã³ã½ã¼ã«ãæä½ãããªãã¦ãã£ã¦ããã¨äººéãå¿ ããå¿ãã¾ããç£è¦ã®ã¡ã³ããã³ã¹ã¢ã¼ãã®è§£é¤ãªã©ãå¿ãã¦ãã¾ãã¨ããããäºæ ã«ã¤ãªããã¾ãããã§ãã¯ãªã¹ããå©ç¨ãã対çãããã¾ãããæè¡çã«è§£æ±ºããã®ãæã¾ãã姿ã§ãã ããã§ããããã£ã¦ããã®ãsleepã³ãã³ãã¨çµã¿åãã㦠sleep 180 && mkr update --st working ã¨ããæ¹æ³ã(ãµã³ãã«ã¨ãã¦Mackerelã§ãµã¼ãã®ã¹ãã¼ã¿ã¹ãå¤æ´ãã¦ãã¾ãï¼ ãã®ããã«å®è¡ãã¦ããã°ãèªåã§3åå¾ã«mkrã³ãã³ããå®è¡ããããµã¼ãã®ç£è¦
AWSã¢ã«ã¦ã³ããçµç¹ã§ç®¡çãã¦ããã¨è¤æ°ã¢ã«ã¦ã³ãå©ç¨ããã±ã¼ã¹ã¯å¤ããã¨æããå¥ã®ã¢ã«ã¦ã³ãã«åãæ¿ããã«ã¯ãWebã³ã³ã½ã¼ã«ããSwitch Roleããã°ãããããã¦ä»¥ä¸ã®ããã« $HOME/.aws/config 㨠$HOME/.aws/credentials ãè¨å®ããã°AWS CLIãããSwitch Roleã§ããã $ cat $HOME/.aws/credentials [main-account] aws_access_key_id = ACCESS_KEY_ID aws_secret_access_key = SECRET_ACCESS_KEY $ cat $HOME/.aws/config [profile sub-account] source_profile = main-account role_arn = ROLE_ARN mfa_serial = MF
ãã¹ããªå±¥æ´ãããã使ã£ã¦ããã®ããçãä¸ãããã 注æç¹: npm å¨ããã°ãã¼ãã«ã³ãã³ã㯠npm i -g ã§å ¥ãã¦ã¦ããã¼ã«ã«ã§æ±ããã®ã¯ yarn ã§ä½¿ãã¨ããçããã 追è¨: ã·ã§ã«ãããªãã¦CLIã ãã¨è¨ãããã®ãå¤ãã£ãã®ã§è¨æ£ãã vscode $ code . -r ç¾å¨ãã£ã¬ã¯ããªã VScode ã§éãã -r ãèã§ãæ°ããã¦ã£ã³ãã¦ãçæãããæ¢åã®ã¦ã£ã³ãã¦ãéãç´ãã yarn $ yarn install --prefer-offline yarn install æã«ãã¼ã«ã«ãã£ãã·ã¥ãåªå ããããã¶ãªã³ã°ç°å¢ä¸ã§ãªãã¸ããªãä½æããã®ã«ä¾¿å©ã ããªã¼ã©ã³ã¹ã«ãªã£ã¦ããåºå ã§ä½æ¥ãããã¨ãå¤ããã®ã¬è¶³ããªãåé¡ãå¤ã çºçããã git $ git clone <github-url> --depth 1 HEAD ã ã clone ããããã¶ãªã³ã°ç°å¢
é«éã«Goè¨èªã®CLIãã¼ã«ãã¤ããcli-initã¨ãããã¼ã«ãã¤ãã£ã tcnkms/cli-initã»GitHub cli-initã使ãã°ï¼Goè¨èªã³ãã³ãã©ã¤ã³ãã¼ã«ä½ææã®ã決ã¾ããã¿ã¼ã³ããã³ãã¬ã¼ãã¨ãã¦èªåçæãï¼ã³ã¢æ©è½ã®è¨è¿°ã«éä¸ãããã¨ãã§ããï¼ ã㢠以ä¸ã¯ç°¡åãªåä½ä¾ï¼ ä¸ã®ãã¢ã§ã¯ï¼addã¨listï¼deleteã¨ãããµãã³ãã³ãããã¤todoã¢ããªã±ã¼ã·ã§ã³ãçæãã¦ããï¼çæçµæã¯ï¼tcnksm/sample-cli-initã«ããï¼ èæ¯ Goè¨èªã§ä½ãããã³ãã³ãã©ã¤ã³ãã¼ã«ãè¦ã¦ããã¨ï¼codegangsta/cliã¨ããããã±ã¼ã¸ããã使ããã¦ããï¼ ããã¯ï¼ã³ãã³ãã©ã¤ã³ãã¼ã«ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãå®ç¾©ããããã®ã©ã¤ãã©ãªã§ï¼ããã使ãã°ï¼ãµãã³ãã³ãããã¤ã³ãã³ãã©ã¤ã³ãã¼ã«ãç°¡åã«ã¤ãããã¨ãã§ããï¼Usageãèªåã§çæãã¦ããããï¼bash
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}