随笔分类 -  CLI

摘要:name: Development pipeline on: pull_request: branches: - main jobs: Server: runs-on: ubuntu-22.04 steps: - name: Check files uses: actions/checkout@v3 阅读全文
posted @ 2023-02-05 00:42 Zhentiw 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Server wait for database get ready # From https://docs.docker.com/compose/startup-order/ #!/bin/sh # wait-for-postgres.sh set -e host="$1" shift # Log 阅读全文
posted @ 2023-02-05 00:37 Zhentiw 阅读(42) 评论(0) 推荐(0) 编辑
摘要:curl http://127.0.0.1:10080/login -u user It prints out the token. {"token":"eyJhbGciOwefewwefwIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20i 阅读全文
posted @ 2022-05-25 02:35 Zhentiw 阅读(37) 评论(0) 推荐(0) 编辑
摘要:Sometimes you still want to support the API and quick developer experience of a single command, while still supporting multi commands in your CLI. Thi 阅读全文
posted @ 2020-03-01 20:43 Zhentiw 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Heavy duty CLI's like gatsby and npm do more than one thing. The convention is to namespace them with a command name after the CLI name, like gatsby n 阅读全文
posted @ 2020-03-01 20:16 Zhentiw 阅读(296) 评论(0) 推荐(0) 编辑
摘要:The fastest way to create a robust, cross-platform compatible Node.js CLI (optionally typed with TypeScript) is by running npx oclif single mycli. Her 阅读全文
posted @ 2020-03-01 19:06 Zhentiw 阅读(311) 评论(0) 推荐(0) 编辑
摘要:Before you use any frameworks, you should know the fundamentals of what makes Node CLI's tick. Here we explain everything you need to know to write a 阅读全文
posted @ 2020-03-01 02:35 Zhentiw 阅读(138) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示