Giter Club home page Giter Club logo

42autowiki's Introduction

42autowiki

42 서울 보고서 파일 자동 생성 프로젝트 with bigpel(jseo in 42)

안녕하세요! 42 Seoul Cadet, suhshin 입니다!

보고서 내용을 작성하는 것은 어렵지 않은데 날짜에 맞는 wiki 파일을 생성하는 것이 너무나 귀찮(..?)아서 자동으로 생성해주는 파일을 만들었습니다!

파일 실행 전 autowiki.sh 의 PROJ_PATH를 수정해 주세요!

autowiki.sh 파일을 실행시키면 다음과 같은 단계로 프로그램이 진행됩니다.

  1. PATH에 등록된 폴더로 이동
  2. git crash를 피하기위한 git pull
  3. 다시 이전 dir로 이동
  4. 옵션에 따라 프로그램 실행
    • 'm' or none : 해당주차 파일 생성
    • 'r' 'mmdd' : 해당 날짜로 생성한 파일들 삭제
  5. 자동으로 git push

!! 날짜를 입력할 때 해당 주차의 월요일 날짜를 입력해 주세요!!

사용법

  • 파일 만들기
./autowiki.sh
or
./autowiki.sh m

파일 생성 원리는 해당 날짜를 월요일이라고 인식하고 해당 날짜로부터 5일치의 파일을 생성하는 방식입니다!!

잘못 생성하는 것을 방지하기 위해 한번의 체크 과정을 거치고 있으니 확인 부탁 드립니다!

월, 일을 입력하시오 (ex. mmdd)

!!!위와 같은 문구가 나오면 만들고 싶은 주차의 월요일 날짜를 입력하셔야 합니다!!!!

  • 파일 삭제
./autowiki.sh r 0212

파일 삭제 원리는 해당 날짜를 월요일로 인식하고 해당 날짜로부터 5일치의 파일을 전부 삭제하는 방식입니다!!!

만약 하나의 파일을 지우고 싶다면 본 프로젝트로 지우는 것이 아닌 단일 파일 삭제 명령을 사용하시길 바랍니다!

!! 삭제의 경우 만약을 대비해 자동 push가 이루어지지 않습니다 !!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.