sun

sun
- 간단한 프로그램을 배우면서 Rust 를 배워서 남주자!
- multiple host  에 shell 명령어를 보내고 그것을 보여주는 단순한 CLI 프로그램(사실 python ansible 조합이면 금방 될것 같지만...)
- github action 에 CI 관련 스트립트 정의하고 시작!

    name: CI

    on: [push]

    jobs:
      build:

        runs-on: ubuntu-latest

        steps:
        - uses: actions/checkout@v1
        - name: Build
          run: cargo build --verbose
        - name: Run tests
          run: cargo test --verbose
        - name: Check Lint
          run: cargo fmt --all -- --check --verbose

개발 환경 구성하기

clap

    [dependencies]
    clap = "~2.33.0"

Custom Type 정의하기

    type HostFilePath = String;
    type Input = String;

Reference

** 아직 모르는것 :**