Git Product home page Git Product logo

smarthr_api_scripts's Introduction

smarthr_api_scripts

install

git clone [email protected]:tknzk/smarthr_api_scripts.git
bundle install --path=vendor/bundle

設定

api-token を取得し、.env に設定する

SMARTHR_SUBDOMAIN=サブドメイン
SMARTHR_API_TOKEN=API TOKEN を設定

実行

bundle exec smarthr-api-cli

Commands:
  smarthr-api-cli crew            # Crew clis
  smarthr-api-cli help [COMMAND]  # Describe available commands or one specific command

crew

bundle exec smarthr-api-cli help crew
Commands:
  smarthr-api-cli crew bulk_update_emp_code CSV_PATH  # bulk update crew.emp_code from csv
  smarthr-api-cli crew dump                           # dump to csv
  smarthr-api-cli crew help [COMMAND]                 # Describe subcommands or one specific subcommand

dump csv

bundle exec smarthr-api-cli crew dump
  • dump.csv というファイルが生成される

bulk_update_emp_code

bundle exec smarthr-api-cli crew bulk_update_emp_code ./update.csv
  • update.csv に書き換えたい emp_code を設定して一括変更する

smarthr_api_scripts's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar tknzk avatar

Stargazers

 avatar

Watchers

 avatar  avatar

smarthr_api_scripts's Issues

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.