0.0.5 • Published 2 years ago

prismoid v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Prismoid

Prisma CLI tool

Roadmap

  • cli는 어떻게 테스트 코드 짜는지 찾기
  • test code 짜기
  • dump 동작 windows에서 확인
  • dump 동작 mac에서 확인
  • restore 동작 windows 확인
  • restore 동작 mac 확인
  • diff 동작 windows 확인
  • diff 동작 mac 확인
  • upload 동작 windows 확인
  • upload 동작 mac 확인
  • .env 파일을 git에 올릴 수는 없으니, 테스트용 .env파일을 생성해주는 코드(.env파일을 암호화한 스트링을 다시 복호화 해주는 정도로 만들계획)를 만들기. 어차피 테스트용이라 보안에 문제없음.

local development

# open up two terminals

# in terminal 1
yarn build:watch

# in terminal 2
yarn link
prismoid <command> [options]

# # register locally
# 근데 이방법보다 위 방법으로 하는게 더 빠르고 편함
# yarn global add file:$PWD # mac OS
# yarn global add file $PWD # windows

reference